html, body {width: auto!important; overflow-x: hidden!important} 

/* Tables */
.divTable{
	display: table;
}
.divTableRow {
	display: table-row;
}
.divTableHeading {
	background-color: #EEE;
	display: table-header-group;
}
.divTableCell, .divTableHead {
	border: 1px solid white;
	display: table-cell;
	/*padding: 3px 10px;*/
  border-spacing: 1px;
}
.divTableHead{
  height: 180px;
  overflow: clip;
  text-wrap: nowrap;}
.playerCell {
  padding: 3px 10px;
}
.divTableHeading {
	background-color: #EEE;
	display: table-header-group;
	font-weight: bold;
}
.divTableFoot {
	background-color: #EEE;
	display: table-footer-group;
	font-weight: bold;
}
.divTableBody {
	display: table-row-group;
}

.date {
  writing-mode: vertical-lr;
  text-orientation: mixed;   
  font-size: small;
  vertical-align: middle; 
}

.pair {
  background-color:rgb(182, 227, 241);
}

.stats {
  max-width: 40px;
  min-width: 10px;
  width: 40px;
}

.player-state {
  width: 100px;
  display: inline-block;
}

.player-name {
  width: 260px;
}

/* Training cases */
.training {
    max-width: 30px;
    min-width: 10px;
    width: 25px;
}
.trainingAbsent {
    background-color: #ffba27;
}
.trainingPresent {
    background-color:green;
}
.trainingDelinquant {
    background-color:red;
}
.trainingExcuse {
    background-color:white;
}

/* Training cases */
.tournament {
  max-width: 30px;
  min-width: 10px;
  width: 25px;
}

.teamSeparator {
  width: 10px;
}

.legende {
  width: 150px;
}

.tournamentnotSummoned {
  background-color: lightgray;
}
.tournamentsummoned {
  background-color:orange;
}
.tournamentnotAvailable {
  background-color: black;
  color: white;
}
.tournamentavailable {
  background-color: lightgreen;
}
.tournamentselected {
  background-color:green;
  color: white;
}
.tournamentStats {
  width: 38px;
}

.titleHead {
    display:inline-block;
    font-size: x-large;
    color: white;
    text-align: center;
    width: 100%;
    position:absolute;
}

.topHeader {
    background-color : rgb(0, 46, 97);
    max-width: 100%;
    width: 100%;
}
/* Sidenav menu */
.sidenav {
    height: 100%;
    width: 250px;
    position: fixed;
    z-index: 1;
    top: 0;
    left: -250px;
    background-color: #e8e8e8;
    padding-top: 60px;
    transition: left 0.5s ease;
  }
  
  .sidenav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
  }
  
  /* Sidenav menu links */
  .sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
  }
  
  .sidenav a:hover {
    color: #111;
  }
  
  /* Active class */
  .sidenav.active {
    left: 0;
  }
  
  /* Close btn */
  .sidenav .close {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
  }
  
  .burger-icon li {
    display: block;
    width: 35px;
    height: 5px;
    background-color: white;
    margin: 6px 0;
  }
  .burger-icon {
    display: inline-block;
    margin-left: 5px;
    margin-top: 5px;
  }

  .player {
/*    max-width: 300px;*/
    max-height: 460px;
    height: 350px;
    position: relative;
    text-align: center;
/*    width: -webkit-calc(100% - 100px);
    width:    -moz-calc(100% - 100px);
    width:         calc(100% - 100px);*/
    width: auto;
  }

  .playerName {
    height: 30px;
    font-size: large;
    text-align: center;
  }

  .playerPrevious,
  .playerIgnore {
    border-radius: 25px;
    width: auto;
    height: 25px;
    padding-top: 5px;
    background-color: lightgray;
    text-align: center;
  }

  .playerPrevious {
    position: relative;
    left: 2%;
    max-width: 45%;
  }

  .playerIgnore {
    position: relative;
    left: 53%;
    top: -30px;
    max-width: 45%;
  }

  .playerAbsent,
  .playerPresent,
  .playerExcuseRel,
  .playerExcuse {
    border-radius: 25px;
    width: 30%;
    text-align: center;
    height: 36px;
    max-width: 150px;
    position: absolute;
    top: 0px;
    padding-top: 14px;

  }

  .playerAbsent {
    left:0px;
    background-color:orangered;
    position: relative;
  }

  .playerPresent {
    left: 70%;
    background-color:lightgreen;
  }

  .playerExcuse {
    background-color: goldenrod;
    left: 35%;
  }

  .playerExcuseRel {
    background-color: goldenrod;
    position: relative;
    left: 20%;
    width: 60%;
    max-width: 100%;
  }

  .league {
    display: inline-block;
    width: 80px;
    margin-left: 5px;
  }

  .swipe-element img,
  .playerPhoto img{
    width: 300px;
    /*position: absolute;*/
    left: 0px;
  }

  /* on hover */
  .playerAbsent:hover {
    background-color: red;
  }

  .playerPresent:hover {
    background-color: greenyellow;
 }

 .playerExcuse:hover {
    background-color: orange;
 }


 /* SWIPE CSS*/
 /* scroll snap takes care of restoring scroll position */
.swipe-container {
  display: flex;
  overflow: auto;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
}
/* scrollbar should be hidden */
.swipe-container::-webkit-scrollbar {
  display: none;
}
/* main element should always snap into view */
.swipe-element {
  scroll-snap-align: start;
  font-family: sans-serif;
  padding: 16px;
  background-color: whitesmoke;
  text-align: center;
}
/* actions and element should be 100% wide */
.swipe-action,
.swipe-element {
  min-width: 100%;
}
.action {
  display: flex;
  align-items: center;
}
/* icon should remain sticky */
i {
  color: white;
  position: sticky;
  left: 16px;
  right: 16px;
}
/* action background colors */
.left {
  background-color: rgb(219, 115, 45);
  width: 200px;
  text-align: right;
  padding-top: 175px;
}
.right {
  justify-content: flex-end;
  background-color: rgb(44, 206, 84);
  width: 200px;
  padding-top: 175px;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #3fdd05;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.loginBody {
  background-image: url('background.jpg');
  background-repeat: no-repeat;
  background-size: cover;
}

.login-form {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  margin: 100px auto;
  text-align: center;
}