* {
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-height: 100vh;
  color: black;
}

body::after {
  content: "";
  display: block;
  height: 65px;
}

/*Scrollbar*/

::-webkit-scrollbar {
  background-color: #eee;
}

::-webkit-scrollbar:vertical {
  width: 8px;
}

::-webkit-scrollbar:horizontal {
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #eee;
}

::-webkit-scrollbar-thumb {
  background: #cacaca;
}

/*Remove arrows from input type number*/

/* Chrome, Safari, Edge, Opera */

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */

input[type=number] {
  -moz-appearance: textfield;
}

header {
  background-color: #cacaca;
}

header .navbar-main .nav-link {
  color: white !important;
}

.navbar-brand img {
  width: 240px;
}

.navbar-sport {
  padding-bottom: 10px;
  padding-top: 15px;
}

.navbar-sport a {
  color: white;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

.navbar-sport a:hover {
  opacity: 0.8;
}

.navbar-sport li.active {
  border-bottom: 3px solid #ff3131;
}

.input-group-text {
  background-color: #ff3131;
  color: white;
}

#search-list .dropdown-menu {
  min-width: 82%;
  max-height: 200px;
  overflow-y: auto;
}

.search-item {
  display: block;
}

.search-item:hover {
  background-color: #eee;
  -webkit-text-decoration: 0;
          text-decoration: 0;
}

.sport-logo {
  width: 40px;
  margin-right: 10px;
}

.team-logo {
  width: 25px;
  margin-right: 10px;
}

.content {
  padding-top: 20px;
  padding-bottom: 20px;
}

h1 {
  text-align: center;
}

h1,
h2,
h3 {
  font-weight: bold;
  margin-top: 30px;
}

table tr {
  background-color: #eee;
}

table tr td {
  white-space: nowrap;
  border-color: white !important;
}

table tr td:first-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

table tr td:last-child {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

table tr:first-child td {
  border: 0;
}

.country-flag {
  width: 30px;
}

#buttontop {
  display: none;
  position: fixed;
  bottom: 12px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  cursor: pointer;
  border-radius: 50%;
  background-color: #ff3131;
}

#buttontop:hover {
  background-color: #fd0000 !important;
}

footer {
  background-color: #cacaca;
  color: white;
  padding-top: 20px;
  padding-bottom: 20px;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 65px;
}

.auth-page {
  background: #cacaca;
  color: white;
}

.auth-section {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.auth-section h1 {
  margin-bottom: 40px;
}

.divider:after,
.divider:before {
  content: "";
  flex: 1;
  height: 1px;
  background: #eee;
}

.star-yellow {
  color: #ffcd10;
}

.leftbar-menu li {
  position: relative;
}

.leftbar-menu li:hover {
  background-color: #eee;
}

.leftbar-menu li:hover .leftbar-link {
  display: block;
}

.leftbar-menu li:hover .leftbar-link:hover {
  opacity: 0.5;
}

.leftbar-menu li a {
  display: inline-block;
  color: black;
}

.leftbar-menu li .leftbar-link {
  display: none;
  position: absolute;
  right: 5px;
  bottom: 0;
  top: 0;
}

.leftbar-menu li .leftbar-link i {
  line-height: 2.7;
}

.leftbar-menu li .leftbar-link i.fa-2x {
  line-height: 1.4;
}

.leftbar-link:not(.collapsed) .rotate-icon {
  transform: rotate(180deg);
  line-height: 1.2 !important;
}

.arrow-link {
  float: right;
  color: white;
}

.arrow-link:not(.collapsed) .rotate-icon {
  transform: rotate(180deg);
  line-height: 0.8;
}

.collapse-info {
  background-color: #f8fafc;
  box-shadow: 0 4px 2px -2px #eee;
}

.star-link:hover {
  opacity: 0.5;
}

.kurz {
  padding: 4px;
}

.kurz-vyherny {
  background-color: #38c172;
  color: white;
  font-weight: 900;
}

.forma {
  color: white;
  padding: 4px;
  position: relative;
}

.forma-vyhra {
  background-color: #38c172;
}

.forma-prehra {
  background-color: #e3342f;
}

.forma-remiza {
  background-color: #f3a000;
}

.forma-predlzenie:after {
  content: "";
  border-top: 12px solid transparent;
  border-right: 12px solid #f3a000;
  position: absolute;
  bottom: 0;
  right: 0;
}

.forma-neznama {
  background-color: #6c757d;
  padding-left: 5.5px;
  padding-right: 5.5px;
}

.table-matches a {
  color: black;
}

.table-matches thead tr {
  background-color: #dadada;
}

#modal-filter form .casove-obdobie i {
  line-height: 2.5;
}

#modal-filter h1,
#modal-filter h2,
#modal-filter h3,
#modal-filter h4,
#modal-filter h5 {
  text-transform: uppercase;
  margin-bottom: 0;
  border-radius: 5px;
}

#modal-filter .radio-buttons {
  padding: 15px;
}

#modal-filter .filter-vyhry h5 {
  background-color: #ABEBC6;
  padding: 10px;
}

#modal-filter .filter-remizy h5 {
  background-color: #F0B27A;
  padding: 10px;
}

#modal-filter .filter-prehry h5 {
  background-color: #F1948A;
  padding: 10px;
}

#modal-filter .filter-kurzy h5 {
  background-color: #85C1E9;
  padding: 10px;
}

#modal-filter .filter-obdobie h5 {
  background-color: #F7DC6F;
  padding: 10px;
}

#modal-filter .filter-typy-zapasov h5 {
  background-color: #bb99ff;
  padding: 10px;
}

#modal-filter .lh-2-5 {
  line-height: 2.5;
}

#modal-filter .modal-content {
  border-radius: 15px;
}

.filter-button:focus {
  box-shadow: none;
}

.bg-wheat {
  background-color: wheat;
}

.simulation-table thead {
  position: -webkit-sticky;
  position: sticky;
  top: -1px;
}

.simulation-table th {
  vertical-align: top !important;
  text-align: center;
}

.simulation-table tr td {
  text-align: center;
  border-radius: 0 !important;
  vertical-align: middle;
}

.simulation-table td,
.simulation-table th {
  border: 2px solid white !important;
}

.simulation-table tr.nevyslo td,
.simulation-table tr.nevyslo th {
  background-color: #e3342f;
  color: white;
}

.simulation-table tr.vyslo td,
.simulation-table tr.vyslo th {
  background-color: #38c172;
  color: white;
}

.simulation-table-edit table input[type=number] {
  background-color: transparent;
  border: 0;
  max-width: 65px;
  width: 100%;
  color: white;
  font-weight: 600;
  overflow: auto;
  text-align: center;
}

.simulation-table-edit table input[type=number]:focus {
  border: 0;
  outline: 0;
  border-bottom: 1px solid white;
  margin-bottom: -1px;
}

.dennik-info th {
  text-align: left;
}

.dennik-info th a {
  display: flex;
}

.dennik-info th a .dennik-meno {
  display: inline-block;
}

.dennik-info th a .dennik-typ {
  font-size: 12px;
}

.dennik-zisk {
  background-color: #ABEBC6;
}

.dennik-nezisk {
  background-color: #F1948A;
}

.nevsadene-kurz,
.neodohraty-zapas {
  background-color: #f5b7b1;
}

.tooltip-inner {
  max-width: 280px;
}

.text-stat {
  font-weight: bold;
}

.text-stat span {
  font-weight: 500;
}

.chart-container {
  position: relative;
  margin: auto;
  min-height: 600px;
  width: 100%;
}

.chart-container .reset_zoom {
  display: none;
  position: absolute;
  top: 10px;
  right: 10px;
  border: 0;
}

.chart-container #bar-chart {
  max-height: 600px !important;
}

.error-page h2 {
  font-size: 50px;
  font-weight: bold;
  text-transform: uppercase;
}

.error-page p {
  margin-top: 30px;
  font-size: 30px;
}

.pagination {
  overflow-x: auto;
}

@media only screen and (min-width: 1200px) {
  .container-xl,
  .container-lg,
  .container-md,
  .container-sm,
  .container {
    max-width: 1190px !important;
  }
}

@media only screen and (min-width: 1600px) {
  .container-xl,
  .container-lg,
  .container-md,
  .container-sm,
  .container {
    max-width: 1500px !important;
  }
}

@media only screen and (max-width: 768px) {
  #search-list .dropdown-menu {
    min-width: 100%;
    position: absolute;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  h4 {
    font-size: 1rem;
  }

  body {
    font-size: 0.83rem;
  }

  .navbar-brand img {
    width: 200px;
  }
}

@media only screen and (max-width: 767px) {
  .sport-logo {
    display: block;
    margin: auto;
  }

  .navbar-collapse {
    border-top: 2px solid #fff;
    margin-top: 3px;
    padding-top: 10px;
  }

  .chart-container {
    min-height: 200px;
  }

  .filter-button {
    padding-left: 0;
  }
}

@media only screen and (max-width: 575px) {
  #modal-filter form .casove-obdobie i {
    display: block;
    width: 100%;
  }

  .sport-logo {
    width: 30px;
  }

  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  h3 {
    font-size: 0.95rem;
  }

  h4 {
    font-size: 0.9rem;
  }

  body {
    font-size: 0.78rem;
  }

  #simulation_form label {
    margin-top: 0.5rem;
  }
}

.modal-delete {
  color: #636363;
}

.modal-delete .modal-content {
  padding: 25px;
  border: none;
  text-align: center;
  font-size: 14px;
}

.modal-delete .modal-header {
  border-bottom: none;
  position: relative;
}

.modal-delete h4 {
  text-align: center;
  font-size: 28px;
}

.modal-delete .close {
  position: absolute;
  top: -5px;
  right: -5px;
}

.modal-delete .modal-body {
  color: #999;
}

.modal-delete .modal-footer {
  border: none;
  text-align: center;
}

.modal-delete .icon-box {
  margin: 0 auto;
  border-radius: 50%;
}

.modal-delete .icon-box i {
  color: #e3342f;
  font-size: 6rem;
  display: inline-block;
}

