/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

 html {
    line-height: 1.15; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
  }
  
  /* Sections
     ========================================================================== */
  
  /**
   * Remove the margin in all browsers.
   */
  
  body {
    margin: 0;
  }
  
  /**
   * Render the `main` element consistently in IE.
   */
  
  main {
    display: block;
  }
  
  /**
   * Correct the font size and margin on `h1` elements within `section` and
   * `article` contexts in Chrome, Firefox, and Safari.
   */
  
  h1 {
    font-size: 2em;
    margin: 0.67em 0;
  }
  
  /* Grouping content
     ========================================================================== */
  
  /**
   * 1. Add the correct box sizing in Firefox.
   * 2. Show the overflow in Edge and IE.
   */
  
  hr {
    box-sizing: content-box; /* 1 */
    height: 0; /* 1 */
    overflow: visible; /* 2 */
  }
  
  /**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */
  
  pre {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
  }
  
  /* Text-level semantics
     ========================================================================== */
  
  /**
   * Remove the gray background on active links in IE 10.
   */
  
  a {
    background-color: transparent;
  }
  
  /**
   * 1. Remove the bottom border in Chrome 57-
   * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
   */
  
  abbr[title] {
    border-bottom: none; /* 1 */
    text-decoration: underline; /* 2 */
    text-decoration: underline dotted; /* 2 */
  }
  
  /**
   * Add the correct font weight in Chrome, Edge, and Safari.
   */
  
  b,
  strong {
    font-weight: bolder;
  }
  
  /**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */
  
  code,
  kbd,
  samp {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
  }
  
  /**
   * Add the correct font size in all browsers.
   */
  
  small {
    font-size: 80%;
  }
  
  /**
   * Prevent `sub` and `sup` elements from affecting the line height in
   * all browsers.
   */
  
  sub,
  sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  
  sub {
    bottom: -0.25em;
  }
  
  sup {
    top: -0.5em;
  }
  
  /* Embedded content
     ========================================================================== */
  
  /**
   * Remove the border on images inside links in IE 10.
   */
  
  img {
    border-style: none;
  }
  
  /* Forms
     ========================================================================== */
  
  /**
   * 1. Change the font styles in all browsers.
   * 2. Remove the margin in Firefox and Safari.
   */
  
  button,
  input,
  optgroup,
  select,
  textarea {
    font-family: inherit; /* 1 */
    font-size: 100%; /* 1 */
    line-height: 1.15; /* 1 */
    margin: 0; /* 2 */
  }
  
  /**
   * Show the overflow in IE.
   * 1. Show the overflow in Edge.
   */
  
  button,
  input { /* 1 */
    overflow: visible;
  }
  
  /**
   * Remove the inheritance of text transform in Edge, Firefox, and IE.
   * 1. Remove the inheritance of text transform in Firefox.
   */
  
  button,
  select { /* 1 */
    text-transform: none;
  }
  
  /**
   * Correct the inability to style clickable types in iOS and Safari.
   */
  
  button,
  [type="button"],
  [type="reset"],
  [type="submit"] {
    -webkit-appearance: button;
  }
  
  /**
   * Remove the inner border and padding in Firefox.
   */
  
  button::-moz-focus-inner,
  [type="button"]::-moz-focus-inner,
  [type="reset"]::-moz-focus-inner,
  [type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
  }
  
  /**
   * Restore the focus styles unset by the previous rule.
   */
  
  button:-moz-focusring,
  [type="button"]:-moz-focusring,
  [type="reset"]:-moz-focusring,
  [type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
  }
  
  /**
   * Correct the padding in Firefox.
   */
  
  fieldset {
    padding: 0.35em 0.75em 0.625em;
  }
  
  /**
   * 1. Correct the text wrapping in Edge and IE.
   * 2. Correct the color inheritance from `fieldset` elements in IE.
   * 3. Remove the padding so developers are not caught out when they zero out
   *    `fieldset` elements in all browsers.
   */
  
  legend {
    box-sizing: border-box; /* 1 */
    color: inherit; /* 2 */
    display: table; /* 1 */
    max-width: 100%; /* 1 */
    padding: 0; /* 3 */
    white-space: normal; /* 1 */
  }
  
  /**
   * Add the correct vertical alignment in Chrome, Firefox, and Opera.
   */
  
  progress {
    vertical-align: baseline;
  }
  
  /**
   * Remove the default vertical scrollbar in IE 10+.
   */
  
  textarea {
    overflow: auto;
  }
  
  /**
   * 1. Add the correct box sizing in IE 10.
   * 2. Remove the padding in IE 10.
   */
  
  [type="checkbox"],
  [type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
  }
  
  /**
   * Correct the cursor style of increment and decrement buttons in Chrome.
   */
  
  [type="number"]::-webkit-inner-spin-button,
  [type="number"]::-webkit-outer-spin-button {
    height: auto;
  }
  
  /**
   * 1. Correct the odd appearance in Chrome and Safari.
   * 2. Correct the outline style in Safari.
   */
  
  [type="search"] {
    -webkit-appearance: textfield; /* 1 */
    outline-offset: -2px; /* 2 */
  }
  
  /**
   * Remove the inner padding in Chrome and Safari on macOS.
   */
  
  [type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  
  /**
   * 1. Correct the inability to style clickable types in iOS and Safari.
   * 2. Change font properties to `inherit` in Safari.
   */
  
  ::-webkit-file-upload-button {
    -webkit-appearance: button; /* 1 */
    font: inherit; /* 2 */
  }
  
  /* Interactive
     ========================================================================== */
  
  /*
   * Add the correct display in Edge, IE 10+, and Firefox.
   */
  
  details {
    display: block;
  }
  
  /*
   * Add the correct display in all browsers.
   */
  
  summary {
    display: list-item;
  }
  
  /* Misc
     ========================================================================== */
  
  /**
   * Add the correct display in IE 10+.
   */
  
  template {
    display: none;
  }
  
  /**
   * Add the correct display in IE 10.
   */
  
  [hidden] {
    display: none;
  }
  



html {
    font-family: 'Open Sans', Helvetica, arial, sans-serif;
    text-align: center;
    background-color: #1c1c1c;
    color: white;
}

.btns-home {
    animation: 1s ease-out 0s 1 slideInFromLeft;
    width: 100%;
}

.btn {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    height: 80px;
    max-width: 250px;
    margin: 1rem auto;
    text-transform: uppercase;
    border: 1px solid currentColor;
    padding:.1em;
}

.btn {
    color: white;
    z-index:5;
    transition: 0.5s ease-in-out;
    background-color:#ffffff0d;
}

.btn-red {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    height: 80px;
    max-width: 250px;
    margin: 1rem auto;
    text-transform: uppercase;
    border: 1px solid currentColor;
    padding:.1em;
}

.btn-turkis {color: #78e7f2;}
.btn-red {color: #f27878;}


.btn-rainbow {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  height: 80px;
  max-width: 250px;
  margin: 1rem auto;
  text-transform: uppercase;
  border: 1px solid currentColor;
  padding:.1em;
  animation: rainbow-color 5s infinite;
  background: #ffffff0c;
}




.btn-rainbow:before {
  content: '';
  position: absolute;
  top: 0;
  right: -50px;
  bottom: 0;
  z-index:-1;
  left: 0;
  border-right: 50px solid transparent;
  border-bottom: 160px solid #78e7f2;
  animation: rainbow-border 5s infinite;
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
  transition: 0.5s ease-in-out;
}
@keyframes rainbow-border {
  0%     {  border-bottom: 160px solid #00ffff; }
8.333%     { border-bottom: 160px solid #00d9ff; }
16.667%     { border-bottom: 160px solid #00b7ff; }
25.000%     { border-bottom: 160px solid #00d9ff; }
33.333%     { border-bottom: 160px solid #00ffff; }
41.667%     { border-bottom: 160px solid #00d9ff; }
50.000%     { border-bottom: 160px solid #00b7ff; }
58.333%     { border-bottom: 160px solid #00d9ff; }
66.667%     { border-bottom: 160px solid #00ffff; }
75.000%     { border-bottom: 160px solid #00d9ff; }
83.333%     { border-bottom: 160px solid #00b7ff; }
91.667%     { border-bottom: 160px solid #00d9ff; }
100.00%     { border-bottom: 160px solid #00ffff; }
}

@keyframes rainbow-color {
  0%     {   color: #00ffff; border-color: #00ffff;}
8.333%     { color: #00d9ff;  border-color: #00d9ff;}
16.667%     { color: #00b7ff;  border-color: #00b7ff;}
25.000%     { color: #00d9ff;  border-color: #00d9ff;}
33.333%     { color: #00ffff;  border-color: #00ffff;}
41.667%     { color: #00d9ff;    border-color: #00d9ff;}
50.000%     { color: #00b7ff;  border-color: #00b7ff;}
58.333%     { color: #00d9ff; border-color: #00d9ff;}
66.667%     { color: #00ffff; border-color: #00ffff;}
75.000%     { color: #00d9ff; border-color: #00d9ff;}
83.333%     { color: #00b7ff; border-color: #00b7ff;}
91.667%     { color: #00d9ff; border-color: #00d9ff; }
100.00%     { color: #00ffff; border-color: #00ffff;}
}
@keyframes rainbow-background {
  0%     {   background-color: #00ffff; }
8.333%     { background-color: #00d9ff; }
16.667%     { background-color: #00b7ff;}
25.000%     { background-color: #00d9ff; }
33.333%     { background-color: #00ffff; }
41.667%     { background-color: #00d9ff;  }
50.000%     { background-color: #00b7ff;  }
58.333%     { background-color: #00d9ff; }
66.667%     { background-color: #00ffff; }
75.000%     { background-color: #00d9ff; }
83.333%     { background-color: #00b7ff; }
91.667%     { background-color: #00d9ff;  }
100.00%     { background-color: #00ffff; }
}



.btn-back {
    color: white;
}

.btn-submit {
    background-color:#ffffff0d;
    color:white;
    font-family: 'Open Sans', Helvetica, arial, sans-serif;
    font:inherit;
    padding:1em;
    cursor: pointer;
}

.btn-red:before {
    content: '';
    position: absolute;
    top: 0;
    right: -50px;
    bottom: 0;
    z-index:-1;
    left: 0;
    border-right: 50px solid transparent;
    border-bottom: 160px solid #f27878;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    transition: 0.5s ease-in-out;
}

.btn-red:hover:before {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    transition: 0.5s ease-in-out;
}
.btn:before {
    content: '';
    position: absolute;
    top: 0;
    right: -50px;
    bottom: 0;
    z-index:-1;
    left: 0;
    border-right: 50px solid transparent;
    border-bottom: 160px solid white;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    transition: 0.5s ease-in-out;
}
.btn:hover:before {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    transition: 0.5s ease-in-out;
}

.btn:hover {
    color:#1d3638;
    transition: 0.5s ease-in-out;
}

.btn-red:hover {
    color:#812e2e;
    transition: 0.5s ease-in-out;
}

.btn-green {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    height: 80px;
    max-width: 250px;
    margin: 1rem auto;
    text-transform: uppercase;
    border: 1px solid currentColor;
    padding:.1em;
    background: #0080000a;
    color:#41e341;
}

.btn-green:before {
    content: '';
    position: absolute;
    top: 0;
    right: -50px;
    bottom: 0;
    z-index:-1;
    left: 0;
    border-right: 50px solid transparent;
    border-bottom: 160px solid #41e341;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    transition: 0.5s ease-in-out;
}
.btn-green:hover:before {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    transition: 0.5s ease-in-out;
}
.btn-green:hover {
    color:rgb(10, 56, 10);
    transition: 0.5s ease-in-out;
}

.btn-turkis {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    height: 80px;
    max-width: 250px;
    margin: 1rem auto;
    text-transform: uppercase;
    border: 1px solid currentColor;
    padding:.1em;
    color:#78e7f2;
    background: #18585e1c;
}

.btn-turkis:hover:before {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    transition: 0.5s ease-in-out;
}
.btn-turkis:hover {
    color:#18585e;
    transition: 0.5s ease-in-out;
}

.btn-turkis:before {
    content: '';
    position: absolute;
    top: 0;
    right: -50px;
    bottom: 0;
    z-index:-1;
    left: 0;
    border-right: 50px solid transparent;
    border-bottom: 160px solid #78e7f2;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    transition: 0.5s ease-in-out;
}

a {
    text-decoration: none;
    line-height: 80px;
    color: rgb(243, 243, 243);
}

.head > span{
    font-family: 'Bebas Neue', Helvetica, arial, sans-serif;
    font-size:3.5rem;
    margin-block-end: 0em;
    margin-right:.25em;
}
.head > span:not(:first-Child) {
  position: absolute;
  font-family: 'Bebas Neue', Helvetica, arial, sans-serif;
  font-size:2.5rem;
  margin-block-end: 0em;
  transform-origin: 0 0;
  top:.22em;
  transform: rotate(25deg);
} 



.head {
  margin-top:3em;
  margin-bottom:3em;
  position: relative;
}

@keyframes slideInFromLeft {
    0% {
      transform: translateX(-100%);
    }
    100% {
      transform: translateX(0);
    }
  }

  .btn-table {
      display:inherit;
      padding:.5em;
      border:none;
      background:#3d3d3d;
  }

.users.index.content, .table-responsive > table {
      max-width:1200px;
      margin: 0 auto;
  }

  .users.index.content table > tbody tr{
    background: #2a2a2a;
  }

  .users.index.content table > thead{
    background:#3d3d3d;
  }

  .users.index.content table > tbody tr td {
      padding:1em;
  }

  ul.pagination, ul.hori {
    display:flex;
    flex-direction: row;
    padding-inline-start:0;
    list-style-type: none;

  }
  ul.pagination {
    justify-content: center;
  }

  ul.pagination li > a {
    background:#3d3d3d;
    padding:.5em;
  }

  ul.pagination li.first > a,
  ul.pagination li.next > a,
  ul.pagination li.prev > a,
  ul.pagination li.last > a {
    margin-right:.25em;
    margin-left:.25em;
    background:#3d3d3d;
    padding:.5em;
  }


  .form.content ul {
      list-style-type: none;
      display:flex;
      flex-direction: column;
      justify-content: center;
      padding-inline-start:0;
  }

  .users.form.content ul li, ul.hori li:not(:last-Child) {
      display:inline-block;
      margin-right:1em;
      
  }

  .users.form.content label,   .form label {
      display:block;
      width:100%;
      margin: .5em 0;
  }

  .users input {
    background: #272727;
    border: none;
    padding: 1em;
    color: #e2e2e2;
    max-width: 72%;
    word-break: break-word;
}


ul.hori {
    justify-content: center;
    padding-inline-start:0;
}

.message.success {
    background:green;
    padding:1em;
}
.message.error {
    background:darkred;
    padding:1em;
}

.message.hidden {
  display: none;
}

.account-buttons {
  margin-top: 4em;
}

/**
*
* Bierpongliste
*
*/

.bp-match {
  position: relative;
  margin-bottom:2em;
}
.bp-match a {
  line-height: 1;
}
.bp-date-del {
  margin-right:1em;
}

.bp-options {
  display:flex;
  flex-direction: row;
  position: absolute;
  top:0;
  right:0;
}


.bp-winner, .bp-options {
  padding:1em;
}

.bp-data {
  display:flex;
  position: relative;
  flex-direction: row;
}

.bp-playernames {
  flex:1;
  height:100%;
  display:flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  overflow: hidden;
  height: 150px;
  position: relative;
}

.bp-playernames-names {
  display:flex;
  flex-direction: row;
}

.game-bg {
  background:#303030;
}

.border-shadow {
  box-shadow: inset 1px 1px #ffffff14, inset -1px -1px #ffffff14;
  border: 1px solid #141414;
}

.flex1 {
  flex:1;
}

.pad05 {
  padding:.5em;
}

.row-border:not(:last-Child) {
  border-right:0;
}

.width50 {
  width: 50%;
  max-width: 50%;
  overflow:hidden;
}


.bp-team1,.bp-team2 {
  width:50%;
  position: relative;
  display: flex;
  flex-direction: column;
}

.bp-date {
   background:#303030;
   font-size:.9rem;
   padding:1em;
   box-shadow: inset 1px 1px #ffffff14, inset -1px -1px #ffffff14;
   border: 1px solid #141414;
}

.bp-team1 {

}
.bp-team2 {

}
.bp-player1, .bp-player2, .bp-player3, .bp-player4 {
  flex:1;
  display:block;
  height:100%;
  position:relative;
}

.bp-player1 {
  background-size: cover;
  background-position: center;
  display:flex;
  justify-content: center;
  align-items: flex-end;
  overflow: hidden;
  order:0;
}
.bp-player1 span {
  position: relative;
  z-index:2;
  width:100%;
  background:#000000ad;;
  font-family: 'Bebas Neue', Helvetica, arial, sans-serif;
}

.bp-player2 {
  order:1;
  background-size: cover;
  background-position: center;
  display:flex;
  justify-content: center;
  align-items: flex-end;
  overflow: hidden;
}
.bp-player2 span {
  position: relative;
  z-index:2;
  width:100%;
  background:#000000ad;
  font-family: 'Bebas Neue', Helvetica, arial, sans-serif;
}


.bp-scores {
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  z-index: 5;
  font-size: 2rem;
  font-family: 'Bebas Neue', Helvetica, arial, sans-serif;
  position: absolute; 
  bottom:65px;
  left:0;
  right:0;
  margin-left: auto; 
  margin-right: auto; 
  width:20px;
}

.bp-teamscore {
  background: #303030;
  font-family: 'Bebas Neue', Helvetica, arial, sans-serif;
  padding:.5em;
  box-shadow: inset 1px 1px #ffffff14, inset -1px -1px #ffffff14;
  border: 1px solid #141414;
}

.bp-win {
  z-index:3;
  width: 100%;
  position: absolute;
  font-family: 'Bebas Neue', Helvetica, arial, sans-serif;;
  color:#29882f;
  background: #000000ad;
}

.bp-mid {
  display:flex;
  justify-content: center;
  align-items: center;
}



.bp-heading {
  font-family: 'Bebas Neue', Helvetica, arial, sans-serif;
}

.font-size-home {
  font-size:1.2rem;
}

.add-green {
  background: #2f6c2f;
  padding: .2em;
  border: 1px solid #397d26;
  border-radius: .1em;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  position: fixed;
  right:0;
  top:2em;
  z-index:10;
  height:30px !important;
  width:30px !important;
}

.small {
  height:50px;
  max-width:175px;
  line-height: 3em;
}

.small-ol {
  height:50px;
  max-width:175px;
}

.rel {
  position:relative;
}

body {
  width: 100vw;
  max-width:668px;
  margin: 0 auto;
  min-height:100vh;
  position: relative;
  overflow-x:hidden;
}
body:after {
  content:"";
  width: 100vw;
  max-width:668px;
  background-image: url(/img/pong.jpeg);
  background-position: center;
  background-size: cover;
  position: fixed;
  opacity: 0.2;
  top: 0;
  left: 0;
  height:100%;
  bottom: 0;
  right: 0;
  z-index: -1;   
  margin: 0 auto;
}

.bp-match-teams {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.games.form.content fieldset p {
  padding:.5em;
  margin:0;
}

.games.form.content fieldset {
  padding-top:1.5em;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

select{
  width: 100%;
  padding: 12px;
  border: 1px solid #9d9d9d;
  border-radius: 2px;
  box-sizing: border-box;
  resize: vertical;
  background:#d0d0d0;
  text-align: center;
}

.team-p {
text-align: initial;
color: #fff;
font-size: 1.6em;
margin: 0;
padding: .1em !important;
}

.top-menu {
  background: #2a2a2a;
  height:60px;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  border-bottom:1px solid #515151;
  margin-bottom:2em;
}

body.profile .top-menu, body.body-home .top-menu, body.no-margin-menu .top-menu {
  margin-bottom:0;
}

.top-menu a, .user-menu a {
  height:calc(100% - .2em - 5px );
  width:50px;
  padding:.2em;
  display: flex;
  justify-content: center;
  align-items: center;
  border-right:1px solid #515151;
}
.user-menu a:first-child {
  border-left:1px solid #515151;
}


.radler-border span:after {
  content:"Radlertrinker";
  font-family: 'Bebas Neue', Helvetica, arial, sans-serif;
  font-size:.7rem;
  letter-spacing: 0.1em;
  margin-left:.4em;
}

.rank-border {
  font-family: 'Bebas Neue', Helvetica, arial, sans-serif;
  font-size:.7rem;
  letter-spacing: 0.1em;
  margin-left:.4em;
}


.user-profile {
  display: flex;
  flex-direction: column;
  height:100vh;
  word-break: break-word;
  text-align: left;
}

.bebaheading {
  padding:.2em;
  font-family: 'Bebas Neue', Helvetica, arial, sans-serif;
  font-size:2.5rem;
  position: relative;
  text-align: right;
}

.user-profile .name {
  padding:.5em;
  font-family: 'Bebas Neue', Helvetica, arial, sans-serif;
  font-size:2.5rem;
  position: relative;
}

.user-profile .ev-info, .user-profile .bp-profile {
  background: #202020;
  border: 1px solid #2f2f2f;
  border-radius: 5px;
  padding: 1em;
      padding-top: 1em;
  box-shadow: inset 1px 1px 1px 0px #111;
  margin-bottom: .5em;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding-top: 1.5em;
}

fieldset {
  background: #202020;
  border: 1px solid #2f2f2f;
      padding-top: 1em;
  box-shadow: inset 1px 1px 1px 0px #111;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding-top: 1.5em;
}


.user-profile .profile-item {
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}


.user-profile .profile-item-row {
  display:flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  border-bottom: 1px solid #4a4a4a;
  box-shadow: inset 0px -1px 0px black;
  margin-bottom: 1em;
}

.center {
  align-items: center !important;
}

.user-profile .profile-item span { }
.user-profile .profile-item:not(:last-child) span:not(:first-child) { margin-bottom:1em;}
.user-profile .profile-item span:first-child {
  font-family: 'Bebas Neue', Helvetica, arial, sans-serif;
  font-size:1.5rem;
}

.user-profile .profile-item-row span:first-child {
  font-family: 'Bebas Neue', Helvetica, arial, sans-serif;
  font-size:1.5rem;
}



.user-profile > span {
  font-family: 'Bebas Neue', Helvetica, arial, sans-serif;
  font-size:1.5rem;
  text-align: left;
  padding-left:1.5em;
  margin-bottom:-.5em;
  position: relative;
}

.user-profile a span {
  font-family: 'Bebas Neue', Helvetica, arial, sans-serif;
  margin-right:.2em;
}

.sorting a {
  background: #2a2a2a;
  border: 1px solid #515151;
  padding:.5em;
  border-radius:5px;
}

.sorting {
  text-align: left;
  padding:.2em;
}

.profile-edit {
  font-size:1rem;
}
.profile-edit span {
  font-family: 'Bebas Neue', Helvetica, arial, sans-serif;
  margin-right: .2em;
}

.user-menu {
  display: flex;
  flex-direction: row;
  flex: 1;
  height: 60px;
  justify-content: flex-end;
}

.center-content {
  display:flex;
  flex-direction: column;
  justify-content: unset;
  align-items: center;
  min-height:calc( 100vh - 100px );
}

.bp-border {
  margin: .25em;
  margin-bottom: 0;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}
.user-border {
  border-bottom: 3px solid #d5d5d5;
}
.radler-border {
  border-bottom: 3px solid #f281e6;
}
.ev-border {
  border-bottom: 3px solid #4aaedf;
}
.alan-border {
  border-bottom: 3px solid #ee20eb;
}
.admin-border {
  border-bottom: 3px solid #ee8a20;
}
.hausherr-border {
  border-bottom: 3px solid #ee2020;
}

input:not(.tranks)[type="checkbox"] {
  /* display: none; */
  visibility: hidden;
  margin-right: -15px;
}

.bp-liga-user {
  position: relative;
  margin-bottom:1em;
}
.bp-liga-user-head {
  font-family: 'Bebas Neue', Helvetica, arial, sans-serif;
  padding:.4em;
  font-size:2rem;
  letter-spacing: .05em;
  flex-shrink: 0;
}
.bp-liga-user-name {
  font-family: 'Bebas Neue', Helvetica, arial, sans-serif;
  font-size:3.3rem;
  position: relative;
  text-shadow: 0px 0px 2px black;
  display: flex;
  flex-direction: row;
  width: 100%;
  margin-bottom: -.5em;
}


.bp-liga-data {
  background:#202020;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}
.liga-item {
  display: flex;
  flex-direction: column;
  border-right: 1px solid #171717;
  box-shadow: inset -1px 0px 0px #373737;
  padding:.4em;
  justify-content: center;
  align-items: center;
  flex:1;
  font-size:1.2rem;
}
.liga-item-head {
  font-family: 'Bebas Neue', Helvetica, arial, sans-serif;
}

.bp-liga-user-footer, .liga-sorting {
  border-top: 1px solid #515151;
  border-bottom: 1px solid #515151;
  height:20px;
  font-family: 'Bebas Neue', Helvetica, arial, sans-serif;
  font-size:1.2rem;
  letter-spacing: .1em;
  padding:.4em; 
  background:#2a2a2a;
}

.liga-sorting {
  margin-bottom:1em;
  padding:0;
  height:auto;
  display: flex;
  justify-content: center;
}
.liga-sorting a {
  line-height:1em;
  display:inline-block;
  padding:1em 1em ;
  text-align: center;
  vertical-align: center;
  flex:1;
}
.liga-sorting a:not(:last-child) {
  border-right: 1px solid #171717;
  box-shadow: inset -1px 0px 0px #373737;
}



.liga-sorting a.desc, .liga-sorting a.asc {
  background: #171717a6;
border-left: 1px solid #171717;
box-shadow: inset 1px 0px 0px #1c1c1c;
}

.sorted {
  background: #151515;
}

.box-shadow {
  box-shadow: 0px 0px 10px black;
}

.marquee {
  line-height: 50px;
  background-color: #262626;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  border-top: 1px solid #171717;
  border-bottom: 1px solid #171717;
  box-shadow: inset 0px 1px 0px #424242,
            inset 0px -1px 0px #424242;;
}
.marquee p {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 15s linear infinite;
}
@keyframes marquee {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(-100%, 0); }
}

.season {
    height: 2em;
    text-align: right;
    padding: .5em;
}

.playoff-border {
  border-bottom: 3px solid #c13636;
}
.playoff-span {
  font-family: 'Bebas Neue', Helvetica, arial, sans-serif;
  background: #c13030;
  padding:.2em;
}

.liga-winner {
  padding: 1em;
  background: #247124;
  overflow: hidden;
  word-wrap: break-word;
}
.liga-places {
  font-family: 'Bebas Neue', Helvetica, arial, sans-serif;
  margin-bottom:2em;
  padding:1em;
  font-size:1.5rem;
}

.winner-label {
  font-family: 'Bebas Neue', Helvetica, arial, sans-serif;
  font-size:3rem;
}
.winner {
  font-family: 'Bebas Neue', Helvetica, arial, sans-serif;
  font-size:5rem; 
}

.bp-season {
  width:100%;
  text-align:right;
  position: absolute;
  right:.1em;
  bottom:.2em;
  font-size:.8em;
  color:grey;
}

.season-divider {
  font-family: 'Bebas Neue', Helvetica, arial, sans-serif;
  margin-bottom:1em;
  background: #ffffff29;
  padding:.2em;
}

.next-season {
  position: absolute;
    right: 1em;
}
.prev-season {
  position: absolute;
    left: 1em;
}
.modt {
  background: #202020;
  border: 1px solid #2f2f2f;
  box-shadow: inset 1px 1px 1px 0px #111;
  margin: 0;
  display: flex;
  flex-direction: column;
  max-width:90%;
  word-break: break-word;
  justify-content: space-around;
}
.modt p {
    display: inherit;
    margin-block-start: 0em;
    margin-block-end: 0em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

.bp-name-rang {
display: flex;
flex-direction: column;
justify-content: flex-end;
align-items: flex-end;
padding-right: .2em;
}

.bp-liga-user.qualified-1:before {
  content:"Qualifiziert für Playoff";
  display:block;
  text-align:center;
  border-bottom: 1px solid #8b8b8b;
  border-top: 1px solid #8b8b8b;
  color:#8b8b8b;
  font-family: 'Bebas Neue', Helvetica, arial, sans-serif;
  font-size:.9rem;
  padding:.5em;
  margin-bottom: 1em;
}


.bp-liga-user.qualified-4:after {
  content:"sonstige Plätze";
  border-top: 1px solid #8b8b8b;
  border-bottom: 1px solid #8b8b8b;
  display:block;
  text-align:center;
  margin-top:2em;
  color:#8b8b8b;
  font-family: 'Bebas Neue', Helvetica, arial, sans-serif;
  font-size:.9rem;
  padding:.5em;
}

/* Tabs mit radio-Buttons */

.tabbed, .bp-tabbed {
  margin-top:1em;
  margin-bottom:1em;
}

.tabbed figure { 
  display: block; 
  margin-left: 0; 
  clear: both;
}

.tabbed > input,
.tabbed figure > div { display: none; }

.tabbed figure>div {
 width: 100%;
 line-height: 1.5em;
 letter-spacing: 0.3px;
}

#tab1:checked ~ figure .tab1,
#tab2:checked ~ figure .tab2,
#tab3:checked ~ figure .tab3 { display: block; }

nav label {
  float: left;
  padding: 15px 15px;
  background: #2a2a2a;
  color: #eee;
  font-family: 'Bebas Neue', Helvetica, arial, sans-serif;
  font-size:1.1rem;
  letter-spacing: .1em;
  border-right: 1px solid #474747;
}

nav label:hover { background: #2a2a2a; }
nav label:active { background: #2a2a2a; }

#tab1:checked ~ div nav label[for="tab1"],
#tab2:checked ~ div nav label[for="tab2"],
#tab3:checked ~ div nav label[for="tab3"] {
 background: #25a1d1;
 color: #121212;
 position: relative;
 border-bottom: none;
}

#tab1:checked ~ div nav label[for="tab1"]:after,
#tab2:checked ~ div nav label[for="tab2"]:after,
#tab3:checked ~ div nav label[for="tab3"]:after {
 content: "";
 display: block;
 position: absolute;
 height: 2px;
 width: 100%;
 left: 0;
 bottom: -1px;
}

figure {
  margin-block-start: 0em;
    margin-block-end: 0em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding: 2em;
    background: #2a2a2a;
    border-top:1px solid #434343;
}


/* Tabs mit radio-Buttons */
.bp-tabbed figure { 
  display: block; 
  margin-left: 0; 
  clear: both;
}

.bp-tabbed > input,
.bp-tabbed figure > div { display: none; }

.bp-tabbed figure>div {
 width: 100%;
 line-height: 1.5em;
 letter-spacing: 0.3px;
}

#bp-tab1:checked ~ figure .bp-tab1,
#bp-tab2:checked ~ figure .bp-tab2,
#bp-tab3:checked ~ figure .bp-tab3 { display: block; }


#bp-tab1:checked ~ div nav label[for="bp-tab1"],
#bp-tab2:checked ~ div nav label[for="bp-tab2"],
#bp-tab3:checked ~ div nav label[for="bp-tab3"] {
 background: #25a1d1;
 color: #121212;
 position: relative;
 border-bottom: none;
}

#bp-tab1:checked ~ div nav label[for="bp-tab1"]:after,
#bp-tab2:checked ~ div nav label[for="bp-tab2"]:after,
#bp-tab3:checked ~ div nav label[for="bp-tab3"]:after {
 content: "";
 display: block;
 position: absolute;
 height: 2px;
 width: 100%;
 left: 0;
 bottom: -1px;
}


a.profile-link {
  display: block;
  background: #5e5e5e;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: .5em;
  border-radius: 3px;
}

.profile-nav {
  display: flex;
  justify-content: space-between;
  padding: 0 .5em;
  align-items: center;
}

.user-nopic {
  background: #282828;
    display: block;
    flex-shrink: 0;
    height: 150px;
    width: 150px;
    border: 1px solid white;
    margin-right: .2em;
    font-size: 1rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right:.4em !important;
}

.ck-label {
  display:none !important;
}

.looser:after {
  content:"Verlierer";
  display:block;
  color: #cd4848;
  font-size: 1rem;
}

.winnert:after {
  content:"Gewinner";
  display:block;
  color: #48cd50;
  font-size: 1rem;
}

.badge {
  display: inline-block;
  padding: 0.25em 0.4em;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
  -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}

.badge-success {
  color: #fff;
  background-color: #00bc8c;
}

.badge-danger {
  color: #fff;
  background-color: #e74c3c;
}


.alert {
  position: relative;
  padding: 0.75rem 1.25rem;
      padding-right: 1.25rem;
  margin-bottom: 1rem;
  text-align:left;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}
.alert-dismissible {
  padding-right: 3.90625rem;
}
.alert-dismissible .close {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.75rem 1.25rem;
  color: inherit;
}

button.close {
  padding: 0;
  background-color: transparent;
  border: 0;
}

.alert-secondary {
  color: #232323;
  background-color: #dadada;
  border-color: #cbcbcb;
}

.alert {
  border: none;
  color: #fff;
}

.alert-secondary {
  background-color: #444;
}

.alert-primary {
  background-color: #375a7f;
}

input.tranks {
  text-align:center;
}

.tranklist a {
  line-height: 1.15;
}

.tranklist-add {
  width: 1em;
  box-shadow: inset 1px 1px #ffffff14, inset -1px -1px #ffffff14;
  border: 1px solid #141414;
  background: green;
  padding:.2em;
  position:relative;
  display:block;
  top:0;
  left:0;
  height:auto!important;
  display: flex;
  justify-content: center;
  align-items: center;
}
.bp-match:first-child {
  background:white;
}
.tranklist + .bp-match > div > a.tranklist-add {
  border-top: 1px solid black;
}

.record-heading {
  font-family: 'Bebas Neue', Helvetica, arial, sans-serif;
  font-size:2rem;
}
.record-text {
  font-size:1.3rem;
}
.record {
  margin-bottom:1.5em;
  background: #0000005c;
  padding:1em;
  border-radius:3px;
}