html {
  margin-left: calc(100vw - 100%);
  margin-right: 0;
}

body {
  margin: 0;
  background-color: #333;
  background-position: center top, right;
  background-repeat: no-repeat, repeat;
}

body.bg1 {
  background-image: url("/images/background_001.png"), url("/images/background_dark.png");
}

body.bg2 {
  background-image: url("/images/background_002.png"), url("/images/background_dark.png");
}

body.bg3 {
  background-image: url("/images/background_003.png"), url("/images/background_dark.png");
}

body.bg4 {
  background-image: url("/images/background_004.png"), url("/images/background_dark.png");
}

body.bg5 {
  background-image: url("/images/background_005.png"), url("/images/background_dark.png");
}

.countdown
{
  font: 700 5em/1 "Oswald", sans-serif !important;  
  letter-spacing: 0;
  text-align: center;
  margin-top: 200px;
  color: #fff;
}

.ui.logo img {
  margin-left:40px;
  margin-top: 25px;
  height: 170px;
}

.ui.header {
  color: #FFF;
  padding: 45px 3px 0 3px; 
}

.ui.header .title {
  font: 700 3em/1 "Oswald", sans-serif !important;  
  letter-spacing: 0;
}

.ui.header .season {
  font: 700 0.8em/1 "Oswald", sans-serif !important;  
  letter-spacing: 0;
  display: block; 
  margin: 2px 25px; 
}
 
.ui.header .control
{
  float: right;
  font-size: 14px;
}

.ui.main.menu {
  text-align: center;
  border: none !important;
  position: -webkit-sticky !important;
  position: sticky !important;
  background-color: transparent;
  top: 18px;
  z-index: 2;
}

.ui.main.menu .item.inline {
  display: inline-block;
  padding: 6px 6px;
}

.ui.main.menu .item i {
  float: none !important;
}

.ui.main.menu .item .team {

}

.ui.main.menu .item .score {
  margin-left: 7px;
}

.ui.table {
  margin-bottom: 15px !important;
}

.ui.table thead tr th {
  font-size: 0.8em;
  line-height: 1em;
  color: #FFF;
  border-style: solid !important;
  border-width: 1px 1px 0 0 !important;
  border-color: #666 !important;
  background-color: #013a73;
}

.ui.table thead tr:last-child th
{
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 23px;
  z-index: 2;
}

.ui.table thead tr:not(:last-child) th {
  font-size: 9; 
  padding: 3px 6px; 
  background-color: #333; 
  background-image: url("/images/background_dark.png");
  border-color: #666 !important;
  text-align: center;
  empty-cells: hide;
}

.ui.table thead tr:nth-last-child(2) th
{
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 5px;
  z-index: 2;
}

.ui.table thead tr th.first
{
  border-left-width: 1px !important;
  border-top-left-radius: 4px
}

.ui.table thead tr th.last
{
  border-top-right-radius: 4px
}

.ui.table tbody tr td {
  font-size: 0.8em;
  line-height: 1em;
  background-color: #F8F8F8;
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 25px;
  z-index: 1;
}

.ui.table tbody tr td:first-child {
  border-left: 3px solid #0260bf !important;
}

.ui.table tbody tr.inactive td {
  color: #AE151E;
}

.ui.table tbody tr.inactive td:first-child {
  border-left: 3px solid #AE151E !important;
}

.ui.table tbody tr.farm td {
  color: #999;
  font-style: italic;
}

.ui.table tbody tr.farm td:first-child {
  border-left: 3px solid #999 !important;
}

.ui.table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 4px;  
}

.ui.table tbody tr td.edit {
  padding: 0;
  width: 10px;
  background-color: #013a73;
}

.ui.table tfoot tr th.edit {
  padding: 0;
  width: 10px;
}

.ui.table button.add, .ui.table button.edit {
  padding: 0.4em;
  margin: 0;
  color: #FFF;
  background-color: transparent;
  opacity: 0.7;
}

.ui.table button.add:hover, .ui.table button.edit:hover {
  opacity: 1;  
}

.ui.table tfoot tr th {
  color: #FFF;
  font-size: 0.8em;
  line-height: 1em;
}

.ui.table tfoot tr th:first-child {
  border: none !important;
  background: transparent;
}

.ui.table tfoot tr th:nth-child(2) {
  font-weight: bold !important;
  border-left: 1px solid #666 !important;
  border-bottom: 1px solid #666 !important;
  border-bottom-left-radius: 4px !important;
  background-color: #013a73;
}

.ui.table tfoot tr th:last-child {
  font-weight: bold;
  border-left: 1px solid #666 !important;
  border-right: 1px solid #666 !important;
  border-bottom: 1px solid #666 !important;
  background-image: url("/images/background_dark.png");
}

.ui.table tfoot tr th:nth-last-child(2) {
  font-weight: bold;
  border-left: 1px solid #666 !important;
  border-right: 1px solid #666 !important;
  border-bottom: 1px solid #666 !important;
  background-image: url("/images/background_dark.png");
}

.ui.table tfoot tr:not(:last-child) th {
  font-size: 9; 
  padding: 3px 6px; 
  background-color: #333; 
  background-image: url("/images/background_dark.png");
  border-color: #666 !important;
  text-align: center;
  empty-cells: hide;
}

.ui.table {
  background-color: transparent;
}

.ui.table .center {
  text-align: center;
}

.ui.table .tfoot.empty tr th {
  font-size: 0.2em !important;
}

.ui.modal {
  position: fixed;
  top: 100px;
}

.ui.modal .content {
  padding: 0;
}

.ui.modal .actions {
  padding: 0;
}

.ui.modal.drafter {
  width: 400px;
  height: 267px;
  position: fixed;
  top: 125px;
  vertical-align: bottom;
}

.ui.modal.drafter .search {
  width: 100%;
  height: 45px;
  margin: 0;
}

.ui.modal.drafter .search .input {
  width: 100%;
  margin: 0;
}

.ui.modal.drafter .search .input .prompt {
  border-radius: 0;
}

.ui.modal.drafter .picture {
  width: 400px;
  height: 267px;
  margin: 0 0 -20px 0;
}

.ui.modal.drafter .text {
  width: 100%;
}

.ui.modal.drafter .team {
  height: 25px;
}

.ui.modal.drafter .item {
  height: 40px;
  padding: 0;
  margin: 0;
}

.ui.modal.drafter .logo {
  height: 25px;
  padding: 0;
  margin: 0 10px 0 0;
  vertical-align: middle !important;
}

.ui.modal.drafter .name {
  display: inline;
  vertical-align: middle !important;
}

.ui.modal.drafter .uniform {
  float: right;
  font-size: 12px;
  opacity: 0.5;
  padding-top: 3px;
}

.ui.modal.viewer .bio {
  position: relative;
  top: 200px;
  left: 350px;
  font: 300 3em/1 "Oswald", sans-serif !important;  
  letter-spacing: 0;
}

.ui.modal.viewer .picture {
  width: 400px;
  height: 267px;
  margin-bottom: -20px;
  margin-left: 20px;
}

.ui.modal.viewer .team {
  font: 100 0.3em/1 "Oswald", sans-serif !important;
  margin-left: 10px;
}

.ui.modal .button {
  margin-top: 5px;
}

.ui.search {
  font-size: 0.9em;
  width: 250px;
  margin-top: 30px;
}

.ui.search input::-webkit-search-cancel-button {
  -webkit-appearance: searchfield-cancel-button;
}

.ui.pagination {
  font-size: 0.9em;
  min-height: 0.8em;
}

.ui.pagination .item {
  font-size: 0.9em;
}

.drafted {
    color: gray;
    text-decoration: line-through;
}

.hidden {
  display: none;
}

.nbs {
  white-space: nowrap;
}

@media only screen and (max-width: 767px) {
  [class*="mobile hidden"],
  [class*="tablet only"]:not(.mobile),
  [class*="computer only"]:not(.mobile),
  [class*="large monitor only"]:not(.mobile),
  [class*="widescreen monitor only"]:not(.mobile),
  [class*="or lower hidden"] {
    display: none !important;
  }
}

@-webkit-keyframes aitf {
	0% { background-position: 0% 50%; }
	100% { background-position: 100% 50%; }
}