html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.field-dbswitch-db {
    margin-right: 10px;
}

.label.label-default a {
    color: white;
}

.columns-6 {
    -webkit-columns: 6 150px;
     -moz-columns: 6 150px;
          columns: 6 150px;
}

.columns-6 div {
    -webkit-column-break-inside: avoid;
              page-break-inside: avoid;
                   break-inside: avoid;
    margin: 5px 10px;
    padding: 5px;
}

.columns-6 div:first-child {
    margin-top: 0px;
}

#tta-statistics th, #tta-statistics td {
    vertical-align: middle;
    text-align: center;
}

#tta-statistics th, #tta-statistics td {
    border: 1px solid black;
}

#tta-statistics tfoot td {
    font-weight: bold;
}

 .chart {
    font-family: Arial, sans-serif;
    font-size: 10px;
  }

  .axis path, .axis line {
    fill: none;
    stroke: #000;
    shape-rendering: crispEdges;
  }

  .bar {
    fill: #5da5da;
  }
  
  .bar.bar1 {
    fill: #f15854;
  }
  
  .bar.bar2 {
    fill: #faa43a;
  }
  
  .bar.bar3 {
    fill: #60bd68;
  }
  
  .bar.bar4 {
    fill: #b276b2;
  }
  
  .form-inline > * {
   margin-left: 10px;
}

.tools-page h3 {
    margin-top: 50px;
}

.icon-flipped {
    transform: scaleX(-1);
    -moz-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    -ms-transform: scaleX(-1);
}

label > input[type="checkbox"] {
    margin-left: 20px;
    margin-top: 5px;
}

ul li.active a.btn, ul li.active button {
    color: #fff;
    background-color: #337ab7;
}

.graph-filter {
    line-height: 25px;
    font-size: 25px;
    margin-bottom: 15px;
}

.mt-0 {
    margin-top: 0px;
}

.mt-1 {
    margin-top: 10px;
}

.mt-2 {
    margin-top: 20px;
}

.mt-3 {
    margin-top: 30px;
}

.mt-4 {
    margin-top: 40px;
}

.mt-5 {
    margin-top: 50px;
}

.mb-0 {
    margin-bottom: 0px;
}

.mb-1 {
    margin-bottom: 10px;
}

.mb-2 {
    margin-bottom: 20px;
}

.mb-3 {
    margin-bottom: 30px;
}

.mb-4 {
    margin-bottom: 40px;
}

.mb-5 {
    margin-bottom: 50px;
}

.checkbox-size-20 {
    width: 20px;
    height: 20px;
}

.tooltip .tooltip-inner { 
    width: 350px; 
}

#server-dropdown-menu.dropdown-menu {
    min-width: 200px;
}

.statistics_category--subcategory {
    font-style: italic;
}


.form-inline .select2.select2-container.select2-container--krajee {
    width: auto !important;
    display: inline-block;
}

.full-width {
    width: 98vw;
    position: relative;
    left: 49%;
    right: 49%;
    margin-left: -48vw;
    margin-right: -48vw;
}

[data-toggle="popover"] {
    cursor: pointer;
}

.btn-outline {
    background-color: transparent;
    color: inherit;
    transition: all .5s;
}

.btn-primary.btn-outline {
    color: #428bca;
}

.btn-success.btn-outline {
    color: #5cb85c;
}

.btn-info.btn-outline {
    color: #5bc0de;
}

.btn-warning.btn-outline {
    color: #f0ad4e;
}

.btn-danger.btn-outline {
    color: #d9534f;
}

.btn-primary.btn-outline:hover,
.btn-success.btn-outline:hover,
.btn-info.btn-outline:hover,
.btn-warning.btn-outline:hover,
.btn-danger.btn-outline:hover {
    color: #fff;
}

/* ========== DC =============== */

.card-golder {
    background-color: #FFC100;
}

.card-gold {
    background-color: #FFFCC6;
}

.card-bystander {
    background-color: white;
    border: 1px solid black;
}

.card-assassin {
    background-color: black;
    color: white;
}

.card-chosen {
    border: 5px solid greenyellow;
}

.card-duet-green {
    background-color: #33cc00;
    font-weight: bold;
}

.card-duet-yellow {
    background-color: yellow;    
    font-weight: bold;
}

.card-duet-blue {
    background-color: cyan;
    font-weight: bold;
}

.text-card-golder {
    color: orange; /*#ECB700*/
    font-weight: bold;
}

.text-card-gold {
    color: gold;
    font-weight: bold;
}

.text-card-bystander {
    color: #909090;
    font-weight: bold;
}

.text-card-assassin {
    color: black;
    font-weight: bold;
}

.text-card-duet-green {
    color: #33cc00;
    font-weight: bold;
}

.text-card-duet-yellow {
    color: yellow;
    background-color: #bdbdbd;
    font-weight: bold;
}

.text-card-duet-blue {
    color: cyan;
    font-weight: bold;
}

.init-color-W {
    color: #909090;
}

.init-color-K {
    color: black;
}

.init-color-G {
    color: #33cc00;
}

.init-color-G-K {
    background: linear-gradient(to right, #33cc00 50%, black 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; 
    display: inline-block;
}

.init-color-G-W {
    background: linear-gradient(to right, #33cc00 50%, #909090 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; 
    display: inline-block;
}

.init-color-W-G {
    background: linear-gradient(to right, #909090 50%, #33cc00 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; 
    display: inline-block;
}

.init-color-W-K {
    background: linear-gradient(to right, #909090 50%, black 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; 
    display: inline-block;
}

.init-color-K-W {
    background: linear-gradient(to right, black 50%, #909090 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; 
    display: inline-block;
}

.init-color-K-G {
    background: linear-gradient(to right, black 50%, #33cc00 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; 
    display: inline-block;
}

.nav-tabs > li.tab-right {
    float: right;
    margin-bottom: -1px;
}

.cell-bg-spymaster {
    background-color: #80e0ff;
}

.cell-bg-operative {
    background-color: #ffffbf/*#ffff99;*/
}

.cell-bg-new {
    background-color: #b2ffb2;
}

.cell-bg-any {
    background-color: #ff8c8c;
}

.row-bg-chosen {
    background-color: #b2ffb2!important;
}

.format-json .fa-caret-right::before,
.format-json .fa-caret-down::before
{
    content: none;
}

.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.font-AR {
    font-size: x-large !important;
}

a.document-action.disabled {
    cursor: not-allowed;
    filter: alpha(opacity=65);
    opacity: 0.65;
    -webkit-box-shadow: none;
    box-shadow: none;
    pointer-events: none;
}

.glyphicon-lg {
  font-size: 24px;
}
.glyphicon-xl {
  font-size: 32px;
}
.glyphicon-xxl {
  font-size: 48px;
}

.full-width-row {
  position: relative;
  left: calc(-50vw + 50% + 150px);
  width: calc(100vw - 300px);
}



.button-checkbox-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.button-checkbox-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.button-checkbox-item {
  cursor: pointer;
}

.button-checkbox-btn {
  position: relative;
  display: inline-flex;
  align-items: center; /* vertikální zarovnání */
  justify-content: center;
  gap: 0.5em;
  padding: 0.5em 1em 0.5em 1.8em; /* rezerva vlevo pro fajfku */
  border-radius: 8px;
  border: 2px solid #ccc;
  background-color: #f8f8f8;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  min-height: 2em;  
}

.button-checkbox-label {
  display: flex;             /* zaručí vertikální střed i pro víceřádkový text */
  align-items: center;
  line-height: 1.2;          /* aby text nelezl mimo */  
}

.button-checkbox-btn:hover {
  border-color: #999;
}

/* Fajfka vlevo */
.button-checkbox-btn::before {
  content: "✔";
  font-size: 0.9em;
  color: #fff;
  background: #31b0d5;
  border-radius: 50%;
  width: 1.2em;
  height: 1.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5);
  position: absolute;
  left: 0.4em;
  transition: all 0.2s ease;
}

.button-checkbox-list input[type="checkbox"] {
  display: none;
}

.button-checkbox-list input[type="checkbox"]:checked + .button-checkbox-btn {
  background-color: /*#4caf50*/#31b0d5;
  color: #fff;
  border-color: /*#4caf50*/#269abc;
}

.button-checkbox-list input[type="checkbox"]:checked + .button-checkbox-btn::before {
  opacity: 1;
  transform: scale(1);
}

.text-tabs.nav-tabs {
  margin-bottom: 1rem;
}

.tab-content textarea {
  width: 100%;
  min-height: 150px;
  resize: vertical;
}

.tab-has-text {
    font-weight: bolder;
    color: #4caf50 !important;
}