html {
  height: 100%;
}
body {
  background: url(../Images/bg_pattern.png) repeat fixed top;
  height: 100%;
  overflow-y: scroll;
}
body.vex-open {
  overflow-y: scroll !important;
}
.vex.vex-theme-plain {
  padding-top: 0 !important;
}
table {
  width: 100%;
}
p.text-center-middle {
  margin: 0;
  text-align: center;
  position: relative;
  top: 50%;
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.text-overflow-hidden {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.loading-screen {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  color: gray;
  padding-top: 2em;
  font-size: 2em;
  z-index: 9999;
}
.body-content {
  padding-left: 15px;
  padding-right: 15px;
  min-height: 100%;
  height: 100%;
}
.simple-border {
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px;
}
.simple-border:after {
  clear: both;
  content: "";
  display: table;
}
div[class^="col-sm-"] {
  margin-bottom: 20px;
}
div[class^="col-sm-"] .simple-border {
  background-color: white;
}
.small-text {
  font-size: small;
}
@media screen and (max-width: 400px) {
  div[class^="col-sm-"] {
    padding-left: 5px;
    padding-right: 5px;
    margin-bottom: 10px;
  }
}
#homescreen {
  height: 100%;
  max-width: 1500px;
  margin: 0 auto;
}
#homescreen #btn-custom-login,
#homescreen #btn-custom-logout,
#homescreen #btn-custom-wallboard {
  width: 100%;
  max-width: 130px;
  min-width: 90px;
}
#homescreen select,
#homescreen input[type=text],
#homescreen input[type=password] {
  height: 28px;
}
#homescreen input[type=text],
#homescreen input[type=password] {
  padding-left: 5px;
}
#homescreen .row h1,
#homescreen .row h2,
#homescreen .row h3 {
  margin-top: 0px;
}
#homescreen #logo img {
  width: 100%;
  height: auto;
}
#homescreen .match-list table {
  cursor: pointer;
  border-spacing: 0;
  border-collapse: separate;
}
#homescreen .match-list table tbody td {
  padding: 5px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 0.8em;
}
#homescreen .match-list table tbody td > span {
  display: inline-block;
}
@media screen and (max-width: 400px) {
  #homescreen .match-list table tbody td > span {
    display: block;
  }
}
#homescreen .match-list table tbody tr.active td:first-child {
  background-color: dodgerblue;
}
#homescreen .match-list table tr:nth-child(odd) {
  background-color: #efefef;
}
#homescreen .match-list table tr:nth-child(odd) td:first-child {
  background-color: #e0e0e0;
}
#homescreen .match-list table tr:nth-child(even) {
  background-color: #fefefe;
}
#homescreen .match-list table tr:nth-child(even) td:first-child {
  background-color: #f0f0f0;
}
#homescreen .match-list table tr.active {
  background-color: lightblue;
}
#homescreen table {
  border-spacing: 5px;
  border-collapse: separate;
  table-layout: fixed;
}
#homescreen table input[type=text],
#homescreen table input[type=password] {
  width: 100%;
  border: 1px solid #ccc;
}
#homescreen .match-info span select {
  display: inline-block;
  max-width: 100%;
  height: 26px;
}
#homescreen .overviewButtons .btn {
  display: inline-block;
  width: 145px;
  margin-bottom: 10px;
  margin-right: 10px;
}
#homescreen .overviewButtons a:hover {
  text-decoration: none;
}
.custom-placeholder::placeholder {
  color: rgb(238, 236, 236); /* Very light grey color */
  opacity: 1;       /* Ensure full opacity for the placeholder */
}