#wrapper {
    position: relative;
    min-height: 90%;
    width: 1100px;
    line-height: 1.5em;
    margin: 0px auto;
    padding: 0px;
    background-color: #fff;
    overflow: auto;
}

#topStrip {
    clear: both;
    margin: 0px;
    padding: 0;
    padding-top: 5px;
    padding-bottom: 5px;
    border: none;
    width: 100%;
    text-align: right;
    background-color: #004010;
    color: white;
}

#topStrip a {
    color: #eee;
}

#topStrip a:visited {
    color: #ddd;
}

#header {
    height: 150px;
    font-weight: bold;
    background-color:  #004010;
}

#header h1 {
    text-transform:  lowercase;
    font-size: 80px;
    color:  white;
    top: 40px;
    position: relative;
    margin: 0;
    margin-left: 20px;
}

#header h1 a {
    color: white;
    text-decoration: none;
    box-shadow: none;
}

#footer {
    height: 200px;
    bottom: 0;
    clear: both;
    width: 100%;
    text-align: center;
    padding-top: 30px;
    background-color: #333;
    color: #fff;
}

#footer a {
    color: #fff;
}

#footer a:visited {
    color: #ddd;
}

.budget-position-restrictions {
    display: none;
    position: sticky;
    height: 30px;
    width: 200px;
    top: 200px;
    left: 1100px;
    color: #004010;
    font-weight: bold;
    background-color: #f1f3e9;
}

.budget-position-restrictions div {
    text-align: center;
}

.budget-position-restrictions .money {
    color: #5c9e77;
}

.selectPlayer {
    cursor: pointer;
    font-weight: bold;
    text-align: center;
}

.editPlayer {
    text-decoration: none;
    box-shadow: none;
    cursor: pointer;
}

.editPlayer.position-selected, .findPlayer.position-selected {
    color: #fa4;
}

.addPlayer {
    cursor: pointer;
    text-decoration: none;
    box-shadow: none;
    font-weight: bold;
    text-align: center;
    font-size: large;
}

.position, .price {
    text-align: center;
}

td.position {
    height: 40px;
    width: 134px;
}

.player-info {
    float: left;
    width: 90%;
}

.mobile-edit-link {
    font-size: large;
}

.userAction {
    background-color: #cdc;
    text-align: center;
}

.football .userAction {
    background-color: #dbb;
}

.basketball .userAction {
    background-color: #bcd;
}

.viewProfile {
    background-color: #cdc;
    text-align: center;
}

.football .viewProfile {
    background-color: #dbb;
}

.basketball .viewProfile {
    background-color: #bcd;
}

.editLink {
    background-color: #cdc;
    text-align: center;
}

.football .editLink {
    background-color: #dbb;
}

.basketball .editLink {
    background-color: #bcd;
}

#errors {
    width: 80%;
    border: 1px solid black;
    background-color: #dcc;
    text-align: center;
    padding: 5px;
    margin: 0 auto;
}

#floatingError {
    color: shade(#cf5852, 60%);
    padding: 8px;
    display: none;
    position: fixed;
    top: 0px;
    width: 100%;
    margin: 0 auto;
    background-color: #cf5852;
    text-align: center;
    z-index: 20000;
}

#success {
    width: 80%;
    border: 1px solid black;
    background-color: #e6efc2;
    text-align: center;
    padding: 5px;
    margin: 0 auto;
}

#floatingSuccess {
    color: shade(#e6efc2, 60%);
    padding: 8px;
    display: none;
    position: fixed;
    top: 0px;
    width: 100%;
    margin: 0 auto;
    background-color: #e6efc2;
    text-align: center;
    z-index: 20000;
}

.smallText {
    font-size: small;
}

.black {
    color: #000;
}

.orange {
    color: #fa4;
}

.cancelLink {
    font-size: small;
    cursor: pointer;
    text-decoration: underline;
    font-weight: bold;
    text-align: center;
}

.left {
    margin:0px;
    padding:0px;
    padding-right: 50px;
    width: 60%;
    float: left;
}

.wideleft {
    margin:0px;
    padding:0px;
    padding-bottom: 50px;
    width: 78%;
    float: left;
}

.right {
    margin: 0px 5px 0px;
    padding:0px;
    padding-bottom: 50px;
    width: 35%;
    float: left;
}

.left-half {
    margin:0px;
    padding:0px;
    width: 45%;
    float: left;
}

.right-half {
    margin: 0px 5px 0px;
    padding:0px;
    padding-bottom: 50px;
    width: 45%;
    float: left;
}

#timeLeft {
    margin-top: 5px;
    margin-bottom: 8px;
    margin-left: 8px;
}

#timeLeft span {
    background-color: #222;
    padding: 3px;
    color: #fff;
    font-size: large;
}

.achievements {
    padding: 16px;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(275px, 1fr));
    width: 100%;
    border: 1px solid #dbe2e2;
    border-bottom: none;
}

.achievements li {
    color: #AF7817;
    display: block;
    margin: 5px;
    padding: 5px;
    border: 1px dotted black;
    min-height: 110px;
    height: 110px;
    line-height: 1.2em;
}

.achievements h1,.achievements h2,.achievements h3,.achievements h4 {
    margin: 0;
    padding: 0;
}

.achievements li p {
    color: #000;
    margin: 0;
    padding: 0;
}

.achievements li.achieved {
    background-color: #fff199;
}

.achievements li:not(.achieved):hover {
    background-color: #cec;
}

#tabs {
    background-color: #004010;
    padding-top: 0px;
    padding-bottom: 40px;
    width: 100%;
}

#tabs ul {
    margin: 0;
    padding: 0;
    display: inline;
    background-color: #7c5;
} 

#tabs ul li {
    font-size: small;
    float: left;
    margin: 0px;
    padding: 3px;
    padding-left: 14px;
    padding-right: 14px;
    text-align: center;
    list-style: none;
    display: inline;
    font-weight: bold;
    background: #7c5;
    height: 40px;
    color: #fff;
    border: none;
    width: 150px;
}

#tabs ul li a {
    color: #fff;
    text-decoration: none;
}

#tabs ul li.here {
    background: #fff;
}

#tabs ul li.here a {
    color: #444;
    display: block;
}

#tabs ul li:hover {
    background: #290;
}

#tabs ul li:hover a {
    color: #fff;
    display: block;
}

th {
    padding: 3px !important;
    height: 25px;
    color: #222;
    border: 1px solid black;
    background: #f0a244 url('/sixpicks/images/th-gradient.png') repeat-x top;
}

#intro li {
    display: block;
    margin-bottom: 5px;
    padding-bottom: 2px;
}

#intro {
    margin-left: 0px;
    padding-left: 15px;
    padding-top: 7px;
    padding-bottom: 5px;
    font-size: 1.2em;
}

#intro a {
    font-weight: bold;
}

#groupName {
    width: 250px;
}

#maxUsers {
    width: 50px;
}

.sports-checkboxes {
}

.sports-checkboxes > label {
    width: auto;
    height: 48px;
}

.dropdown {
    font-family: arial,sans-serif;;
    font-size: medium;
    border: 1px solid black;
    background-color: #ffc;
    padding: 4px;
}

.button {
    font-family: arial,sans-serif;;
    font-size: medium;
    padding: 4px;
    background-color: #eee;
}

.form {
    
}

.form li {
    display: block;
}

#ads {
    float: left;
}

#thinAds {
    float: left;
    width: 10%;
}


.passwords {
    display: none;
}

fieldset {
    border: none;
    padding: 0;
    margin: 0;
    width: 100% !important;
}

fieldset dl dt {
    float: left;
    text-align: left;
    margin-right: 10px;
    padding: 2px;
}

fieldset dl dt label {
    font-weight: bold;
    max-width: 100% !important;
    width: 100% !important;
}

fieldset dl dd {
    margin: 2px 0;
    padding: 2px 0;
}

body.sports_style a.joinbutton {
    text-decoration: none;
    box-shadow: none;
    color: #5c9e77;
}

body.sports_style a.leavebutton {
    text-decoration: none;
    box-shadow: none;
    color: #cf5852;
}

tr.privateGroup {
    background-color: #cdc !important;
}

.wall {
    padding: 0;
    margin: 0;
    height: 500px;
    overflow: auto;
}

.wall ul {
    width: 290px;
}

.wall li {
    display: block;
    margin-bottom: 2px;
    background-color: #eee;
}

.wall li span.ago {
    font-size: x-small;
}

.wall li span.username {
    font-size: small;
    font-weight: bold;
}

.wall li span.message {
    font-size: small;
}

.messageBox {
    font-family: arial,sans-serif;;
    font-size: small;
    border: 1px solid black;
    padding: 4px;
    background-color: #ffd;
}

.mobile-only {
    display: none;
}

.findPlayerRow td + td + td + td {
    text-align: center;
    min-width: 13%;
}

.rounded {
    border-radius: 5px;
}

/* Autocomplete
----------------------------------*/
.ui-autocomplete { position: absolute; cursor: default; }
.ui-autocomplete-loading { background: #cdc; }

/* workarounds */
* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */

/* Menu
----------------------------------*/
.ui-menu {
        list-style:none;
        padding: 2px;
        margin: 0;
        display:block;
}
.ui-menu .ui-menu {
        margin-top: -3px;
}
.ui-menu .ui-menu-item {
        background-color: #cdc;
        margin:0;
        padding: 1px;
        width: 100%;
}
.ui-menu .ui-menu-item a {
        text-decoration:none;
        display:block;
        padding:.2em .4em;
        line-height:1.5;
        zoom:1;
}
.ui-menu .ui-menu-item a.ui-state-hover,
.ui-menu .ui-menu-item a.ui-state-active {
        font-weight: bold;
}

.throbber {
    width:auto;
    height:20px;
}

#prices {
    width:800px;
    height:275px;
    margin-bottom: 20px;
}

/************************ CSS Reset START ************************/

html,body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { 
    margin: 0;
    padding: 0;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
fieldset,img { 
    border: 0;
}
address,caption,cite,code,dfn,em,strong,th,var {
    font-style: normal;
    font-weight: normal;
}
ol,ul {
    list-style: none;
}
caption,th {
    text-align: left;
}
h1,h2,h3,h4,h5,h6 {
    font-size: 100%;
    font-weight: normal;
}
q: before,q: after {
    content: '';
}
abbr,acronym { border: 0;
}

/************************ CSS Reset END ************************/

@media only screen and (max-width: 768px) {
    #wrapper, #footer {
        width: 100%;
    }

    .left, .right, .wideleft {
        padding: 0;
        margin: 0;
        width: 100%;
        clear: both;
    }

    table {
        overflow-x: auto;
        width: 100%;
    }

    #header {
        height: 40px;
        position: fixed;
        width: 100%;
    }

    #header h1 {
        top: 8px;
        left: 8px;
        font-size:  20px;
    }

    #header a {
        position: relative !important;
    }

    #footer {
        height: 80px;
        padding-top: 10px;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: contents;
    }

    #tabs {
        display: none;
    }

    .budget-position-restrictions {
        position: fixed;
        height: 30px;
        width: 100%;
        top: 40px;
        left: 0px;
    }

    #menu__toggle {
      opacity: 0;
    }
    #menu__toggle:checked + .menu__btn > span {
      transform: rotate(45deg);
    }
    #menu__toggle:checked + .menu__btn > span::before {
      top: 0;
      transform: rotate(0deg);
    }
    #menu__toggle:checked + .menu__btn > span::after {
      top: 0;
      transform: rotate(90deg);
    }
    #menu__toggle:checked ~ .menu__box {
      left: 0 !important;
    }
    .menu__btn {
      position: fixed;
      top: 20px;
      left: 20px;
      width: 26px;
      height: 26px;
      cursor: pointer;
      z-index: 1;
    }
    .menu__btn > span,
    .menu__btn > span::before,
    .menu__btn > span::after {
      display: block;
      position: absolute;
      width: 100%;
      height: 2px;
      background-color: white;
      transition-duration: .25s;
    }
    .menu__btn > span::before {
      content: '';
      top: -8px;
    }
    .menu__btn > span::after {
      content: '';
      top: 8px;
    }
    .menu__box {
      display: block;
      position: fixed;
      top: 0;
      left: -100%;
      width: 300px;
      height: 100%;
      margin: 0;
      padding: 80px 0;
      list-style: none;
      background-color: #7c5;
      box-shadow: 2px 2px 6px rgba(0, 0, 0, .4);
      transition-duration: .25s;
    }
    .menu__item {
        color: white;
      display: block;
      padding: 12px 24px;
      font-size: 20px;
      font-weight: 600;
      text-decoration: none;
      text-transform: none;
      transition-duration: .25s;
    }
    .menu__item:hover {
      background-color: #CFD8DC;
    }
}

.sr-only {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.circle {
  background: #5c9e77;
  color: #fff;
  text-align: center;
  padding-left: 2px;
  padding-right: 2px;
}

.starting-indicator {
  font-weight: bold;
  color: #5c9e77;
}

.not-starting-indicator {
  font-weight: bold;
  color: #cf5852;
}

#passwordError {
    text-align: center;
    font-weight: bold;
    width: 100%;
    background-color: #ebf0f0;
    color: #cf5852;
}

.autoPicker,
#create-moundball-game,
.moundball-game-back-button {
    transform: none !important;
    will-change: auto !important;
}

.store_menu {
    background-color: #fa4 !important;
}

.game-summary-status {
    float: right;
}

#trigger-moundball {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
    text-align: center;
    width: 100%;
}

.moundballs-log td {
    text-align: center;
}

.remove-moundball-game-participant {
    box-shadow: none;
    text-decoration: none;
}

.formula {
    font-size: small;
    font-family: monospace;
    background-color: #ddd;
    padding: 1px;
    color: #ef2cef;
}

#rules ol {
    list-style-type: decimal;
    margin: revert;
    padding: revert;
}

#rules ul {
    list-style-type: disc;
    margin: revert;
    padding: revert;
}

.game-cards {
    margin: 0 auto;
}

.game-card:hover {
    -webkit-filter: opacity(.7);
    filter: opacity(.7);
}

#newAchievementsWrapper {
    display: none;
}

.six_picks_injury {
    color: #c11;
    font-weight: 600;
}

#datePicker {
    cursor: pointer;
    color: #5c9e77;
}

.basketball #datePicker {
    color: #ff6c0e;
}

.sports_scoring_boxes div:nth-child(1) {
    margin: 16px;
    float: left;
}

.sports_scoring_boxes div:nth-child(2) {
    float: left;
}

.reset-date-filter {
    display: none;
    cursor: pointer;
}
