@media all and (min-width: 1000px) {
    .container {
        max-width: 980px !important;
    }
}

@media all and (min-width: 1200px) {
    .container {
        max-width: 95% !important;
    }
}

#IEText {
    display: none;
}

@media screen and (min-width:0\0) {
    #IEText {
        display: block;
        text-align: center;
    }
}

html {
    overflow-y: scroll;
    height: 100%;
}

body {
    height: 100%;
}

#root {
    height: 100%;
}

.loading-icon {
    font-size: 40px !important;
    margin: auto;
    width: 100%;
    height: 40px;
    text-align: center;
}

h3 {
    margin-top: 25px;
}

.header {
    width: 100%;
    min-width: 964px;
    height: 150px;
    display: inline-block;
    vertical-align: middle;
}

.body {
    padding: 25px 25px 0px 25px;
}

.body.home {
    /*height: 70%;*/
    background-image: url("images/BkgGray.png");
    background-size: 100%;
    min-width: 964px;
}

.home .container {
    height: 100%;
}

.home .container .row {
    height: 100%;
    justify-content: center;
}

.home .container .row>div {
    height: 300px;
}

.tile {
    height: 80%;
    margin: 1%;
    border: solid 1px black;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.8);
}

.tile .row {
    justify-content: center;
}

.tile .row.icon {
    height: 50%;
}

.tile .row.title {
    height: 15%;
}

.tile .row.summary {
    height: 35%;
    font-size: x-small;
}

.navbar {
    border-radius: 10px 10px 0 0;
    background-color: black;
    min-width: 964px;
}

body .navbar-expand .navbar-nav .nav-link {
    padding: 10px 20px;
}

.bulk-entry {
    position: absolute;
}

.arb-data-entry>.row {
    margin-bottom: 20px;
}

.arb-data-entry > fieldset > .row {
    margin-bottom: 20px;
}

.arb-data-entry .row .col-md-6:has(.form-box):first-of-type {
    padding-left: 0px;
}

.arb-data-entry .row .col-md-6:has(.form-box):last-of-type {
    padding-right: 0px;
}

@media (max-width: 768px) {
    .arb-data-entry .row .col-md-6:has(.form-box) {
        padding: 0px;
    }
}

.bulk-entry-row {
    padding-bottom: 5px;
    padding-top: 5px;
}

.bulk-entry-row:nth-child(odd) {
    background-color: #efefef;
}

.bulk-entry-row:focus-within {
    background-color: #9abcea;
}

body .row {
    align-items: center;
    margin: 0px;
}

/* browser specific css classes for the date input */
#date-input::-webkit-input-placeholder {
    color: black;
}

#date-input::-moz-placeholder {
    color: black;
}

#date-input:-moz-placeholder {
    color: black;
}

#date-input:-ms-input-placeholder {
    color: black;
}

#calendar {
    width: 350px;
}

.calendar-header {
    font-size: 9px;
    font-weight: 700;
    padding: 0px !important;
    margin: auto;
    text-align: center;
}

.selected-day {
    background-color: #0379f7;
    border-radius: 10px;
}

.calendar-day {
    padding: 0px !important;
    text-align: center;
}

.searchbar-left div {
    float: left;
    clear: none;
}

.searchbar-right div {
    float: left;
    clear: none;
}

select {
    margin-right: 30px !important;
    border-radius: 10px;
}

.int-range-dropdown {
    width: 80px !important;
}

.arrow-up {
    border: solid #17a2b8;
    border-width: 3px 0 0 3px;
    display: inline-block;
    padding: 3px;
    margin: 3px;
    transform: translateY(3px) rotate(45deg);
    -webkit-transform: translateY(3px) rotate(45deg);
}

.arrow-down {
    border: solid #17a2b8;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    margin: 3px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.query-tool {
    padding: 0px 25px 0px 25px;
}

    .query-tool h4 {
        margin-right: 30px;
    }

    .query-tool .row {
        padding-bottom: 5px;
        padding-top: 5px;
    }

    .query-tool .row .col {
        padding-left: 0px;
    }

    .query-tool #floating-filters {
        position: fixed;
        z-index: 999;
        width: 80%;
        background-color: rgba(211, 211, 211, .8);
        border: solid 1px black;
        border-radius: 0px 5px 5px 0px;
        padding: 10px;
        box-shadow: black 5px 2px 5px, black 0px 2px 5px;
        top: 25px;
    }

    .query-tool #floating-filters .span-button {
        width: 40px;
        height: 40px;
        display: inline-block;
        position: absolute;
        background: #17a2b8;
        right: -40px;
        top: 35px;
        border-right: 2px solid black;
        border-top: 2px solid black;
        border-bottom: 2px solid black;
        border-radius: 0px 5px 5px 0px;
        font-size: 3em;
        line-height:.6em;
        text-align: center;
    }

        .query-tool #floating-filters .span-filter-label {
            width: 40px;
            height: 120px;
            display: inline-block;
            position: absolute;
            background: #17a2b8;
            right: -40px;
            top: 80px;
            border-right: 2px solid black;
            border-top: 2px solid black;
            border-bottom: 2px solid black;
            border-radius: 0px 5px 5px 0px;
            writing-mode: vertical-rl;
            /*text-orientation: upright;*/
            text-align: center;
            font-weight: bold;
            line-height: 1.2;
        }

.leaderboardsNav {
    width: 500px;
    padding: 0 !important;
}

    .leaderboardsNav .navbar-nav {
        display: table;
        width: 100%;
        margin: 0;
    }

        .leaderboardsNav .navbar-nav > a {
            float: none;
            display: table-cell;
            text-align: center;
        }

    .leaderboardsNav a:first-of-type {
        border: solid 1px black;
    }

    .leaderboardsNav a {
        border-top: solid 1px black;
        border-right: solid 1px black;
        border-bottom: solid 1px black;
    }

        .leaderboardsNav a.selectedTab, .leaderboardsGroupNav a.selectedTab {
            background-color: #e6e6e6;
        }

.leaderboardsGroupNav {
    padding: 0 !important;
}

    .leaderboardsGroupNav .navbar-nav > a:first-of-type {
        border-left: solid 1px black;
    }

    .leaderboardsGroupNav .navbar-nav > a {
        float: none;
        display: table-cell;
        text-align: center;
        padding: 0 !important;
        border-right: solid 1px black;
        border-top: solid 1px black;
        border-bottom: solid 1px black;
    }

.filter p {
    margin-top: 10px;
    margin-bottom: 5px;
}

.filter img {
    float: left;
    padding: 5px;
}

.playerBio .row {
    align-items: flex-start;
}

.playerBio p {
    margin: 0px;
    font-size: 14px;
}

.playerNav,
.queryNav {
    border-radius: 0px;
    border: 2px solid black;
    height: 48px;
    padding: 8px 0px !important;
}

.queryNav {
    border-top: none;
    height: 46px;
}

    .playerNav a,
    .queryNav a {
        color: black !important;
    }

    .playerNav .navbar-nav,
    .queryNav .navbar-nav,
    .leaderboardsGroupNav .navbar-nav {
        display: table;
        width: 100%;
        margin: 0;
    }

        .playerNav .navbar-nav > a,
        .queryNav .navbar-nav > a {
            float: none;
            display: table-cell;
            text-align: center;
        }

    .queryNav .nav-link:not(:first-child),
    .playerNav .nav-link:not(:first-child) {
        border-left: solid 2px black;
    }

    .playerNav .nav-selected,
    .queryNav .nav-selected {
        /*border-left: solid 2px black;*/
        /*border-right: solid 2px black;*/
        border-top: solid 2px black;
        border-bottom: solid 2px black;
        background-color: #e6e6e6;
    }

    .queryNav .nav-selected {
        border-top: none;
        border-bottom: none;
    }

        .playerNav .nav-selected span,
        .queryNav .nav-selected span {
            width: 20px;
            height: 20px;
            display: inline-block;
            position: absolute;
            background: #e6e6e6;
            right: auto;
            top: 35px;
            border-right: 2px solid black;
            border-top: 2px solid black;
        }

.transaction-graph .col-md-11 {
    padding: 0px !important;
    min-width: 964px;
}

.month-bar {
    display: flex;
    justify-content: space-between;
    height: 30px;
}

    .month-bar div {
        white-space: nowrap;
        border: solid 1px black;
        height: 100%;
        text-align: center;
        line-height: 25px;
    }

.transaction-bar {
    border-radius: 10px;
    border: solid 1px black;
    height: auto;
    width: 100%;
    margin: 0 auto;
    font-size: 12px;
    display: inline-flex;
}

.bar-status div {
    padding: 13.5px 0px;
}

/*.transaction-bar div[style="width: 4%;"] div {
    transform: rotate(90deg);
    font-size: 10px;
}

.transaction-bar div[style="width: 3%;"] div {
    transform: rotate(90deg);
    font-size: 9px;
}

.transaction-bar div[style="width: 2%;"] div {
    transform: rotate(90deg);
    font-size: 6px;
}

.transaction-bar div[style="width: 1%;"] div {
    transform: rotate(90deg);
    font-size: 3px;
}*/

.transaction-bar .bar-status-only {
    border-radius: 10px;
}

.transaction-bar .bar-status-first {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.transaction-bar .bar-status-last {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.transaction-bar .bar-status-border {
    border-right: solid 1px black;
}

.transaction-bar p {
    margin: auto;
    text-align: center;
}

.transaction-bar-container {
    display: flex;
    flex-direction: column;
}

.transaction-bar-row {
    display: flex;
}

.transaction-bar-col {
    flex-grow: 1;
    text-align: center;
    position: relative;
}

    .transaction-bar-col:not(:last-child) {
        position: relative;
    }

        .transaction-bar-col:not(:last-child):after {
            content: '';
            position: absolute;
            top: auto;
            bottom: 0;
            height: 8.5px;
            width: 1px;
            border-left: 3px solid black;
            right: 0;
        }

.il-bar-status {
    background-color: rgb(253, 57, 188);
}

.active-bar-status {
    background-color: white;
}

.optioned-bar-status {
    background-color: rgb(255, 92, 92);
}

.DFA-bar-status {
    background-color: #ffc107;
}

.not-on-40-man-bar-status {
    background-color: darkgoldenrod;
}

.inactive-bar-status,
.unknown-bar-status,
.no-games-bar-status {
    background-color: lightgrey;
    outline: 1px dashed white;
}

.contract-info .row {
    align-items: normal;
}

.contract-info .row div:first-child {
    text-align: left;
}

.contract-info .row div:last-child {
    text-align: right;
}

.contract-selection {
    width: 1132px;
    margin-left: 30px;
    border: 1px solid black;
}

    .contract-selection .form-check:hover {
        background-color: darkgray !important;
    }

    .contract-selection .form-check-input {
        margin-left: -1rem;
    }

    .contract-selection .contract-selection-header:first-child {
        width: 220px;
        padding-left: 25px;
        border-left: none;
    }

    .contract-selection .contract-selection-header {
        display: inline-block;
        background-color: #e6e6e6;
        word-wrap: normal;
        width: 130px;
        border-left: solid 1px black;
        border-bottom: solid 2px black;
        padding-left: 5px;
        text-align: center;
    }

    .contract-selection label:last-child div {
        border-bottom: none;
    }

    .contract-selection label div {
        display: inline-block;
        width: 130px;
        border-left: solid 1px black;
        border-bottom: solid 1px black;
        padding-right: 5px;
        text-align: right;
    }

    .contract-selection label div:first-child {
        width: 200px;
    }

    .contract-selection .form-check:nth-child(odd) {
        background-color: #efefef;
    }

.playerSearch {
    margin: 10px !important;
}

.autocomplete {
    width: 100%;
}

.autocomplete-list {
    background-color: rgb(255, 255, 255);
    min-width: 75px;
    max-width: 300px !important;
    max-height: 600px;
    overflow-y: scroll;
    position: absolute !important;
    z-index: 999;
    list-style-type: none;
    padding: 0 !important;
    border: 1px solid black;
}

@media only screen and (max-height: 900px) {
    #floating-filters .autocomplete-list {
        max-height: 300px;
    }
}

.autocomplete-list .col-group img {
    padding: 4px 5px 0px 0px;
}

.autocomplete-item {
    padding: 0;
}

    .autocomplete-item:hover {
        background-color: lightgray;
    }

.multiSelect .dropdown-menu {
    padding: .5rem;
}

.seasonDropdown {
    width: 100px !important;
    padding: 0;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 4px;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.sub-tab-form {
    border-left: solid 1px black;
    border-right: solid 1px black;
    border-bottom: solid 1px black;
    border-radius: 0px 0px 5px 5px;
    background-color: #e6e6e6;
}

.badge {
    margin-right: 5px;
}

    .badge.draggable {
        max-width: 250px;
        white-space: pre-wrap;
    }

    .badge span {
        font-size: 8px;
        background-color: #6c757d;
        color: white;
        float: right;
        margin: 2px 0px 0px 4px;
        border: 1px solid white;
    }

.btn {
    margin: 0px 10px 0px 0px;
}

.btn-outline-secondary {
    width: 80px;
    margin: 10px 10px 0px 0px;
}

.label {
    margin: 0px 10px 0px 0px;
}

.col-item {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .col-item:hover {
        background-color: grey;
    }

.sel-col {
    background-color: darkgoldenrod !important;
}

.col-selector-control {
    display: block;
    margin: 0px 0px 10px 0px;
}

.col-group {
    font-weight: bold;
    cursor: pointer;
}

.col-group img {
    padding: 0px 5px 4px 0px;
}

.col-group-item {
    padding-left: 25px !important;
}

.list-table {
    overflow-y: scroll;
    max-height: 500px;
    max-width: 300px;
    display: block;
    padding: 0px;
    list-style-type: none;
    border: 1px solid black;
}

    .list-table li {
        padding: 0px 5px;
    }

    .list-table p {
        margin-bottom: 0px !important;
    }

.table-header {
    border-left: 2px solid black;
    border-top: 2px solid black;
    border-right: 2px solid black;
    background-color: #e6e6e6;
    text-align: center;
    font-weight: 600;
}

.no-break {
    border-right: none !important;
}

/**** TABULATOR *****/

.tabulator-col:not(.tabulator-col-group) .tabulator-col-content {
    display: flex !important;
    justify-content: center !important;
    align-items: flex-end !important;
    height: 100% !important;
}

.comp-report .tabulator,
.rank-report .tabulator,
.query-tool .tabulator,
.largestcontracts .tabulator,
.player-stats .tabulator,
.player-page .tabulator,
.arbitration-report .tabulator,
.splits-report .tabulator,
.appearance-matrix .tabulator,
.relief-pitcher-report .tabulator,
.awards .tabulator,
.xxb-report .tabulator,
.attendance-report .tabulator {
    font-size: 9px !important;
    margin-bottom: 25px;
}

.comp-report .tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols,
.player-stats .tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols {
    border-top: none;
}

.comp-report .tabulator .tabulator-header .tabulator-col.break,
.rank-report .tabulator .tabulator-header .tabulator-col.break,
.leaderboards .tabulator .tabulator-header .tabulator-col.break,
.query-tool .tabulator .tabulator-header .tabulator-col.break,
.largestcontracts .tabulator .tabulator-header .tabulator-col.break,
.player-stats .tabulator .tabulator-header .tabulator-col.break {
    border-right: 1px solid black !important;
}

.comp-report .tabulator .tabulator-header .tabulator-col,
.leaderboards .tabulator .tabulator-header .tabulator-col,
.rank-report .tabulator .tabulator-header .tabulator-col,
.query-tool .tabulator .tabulator-header .tabulator-col,
.largestcontracts .tabulator .tabulator-header .tabulator-col,
.player-stats .tabulator .tabulator-header .tabulator-col {
    border-right: none !important;
}

.comp-report .tabulator .tabulator-header .tabulator-col-group,
.player-stats .tabulator .tabulator-header .tabulator-col-group {
    border-right: 1px solid black !important;
}

.tabulator-header {
    font-size: 10px;
}

.tabulator-cell strong {
    font-size: 11px;
}

.comp-report .tabulator-cell.break,
.rank-report .tabulator-cell.break,
.leaderboards .tabulator-cell.break,
.query-tool .tabulator-cell.break,
.largestcontracts .tabulator-cell.break,
.player-stats .tabulator-cell.break {
    border-right: 1px solid black !important;
}

.player-page .tabulator-cell,
.relief-pitcher-report .tabulator-cell {
    text-align: right;
}

.comp-report .tabulator-cell,
.leaderboards .tabulator-cell,
.rank-report .tabulator-cell,
.query-tool .tabulator-cell,
.largestcontracts .tabulator-cell,
.player-stats .tabulator-cell,
.recent-signings .tabulator-cell,
.player-page .tabulator-cell,
.arbitration-report .tabulator-cell,
.relief-pitcher-report .tabulator-cell,
.awards .tabulator-cell,
.transactions-report .tabulator-cell,
.xxb-report .tabulator-cell,
.attendance-report .tabulator-cell {
    text-align: right;
    vertical-align: top !important;
    box-shadow: none;
    border-right: none !important;
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: normal;
    color: black;
}

.appearance-matrix .tabulator-cell {
    border-right: 1px solid #aaa !important;
    border-bottom: 1px solid #aaa !important;
}

.comp-report div:not(.tabulator-selected) > .tabulator-cell,
.leaderboards div:not(.tabulator-selected) > .tabulator-cell,
.rank-report div:not(.tabulator-selected) > .tabulator-cell,
.query-tool div:not(.tabulator-selected) > .tabulator-cell,
.largestcontracts div:not(.tabulator-selected) > .tabulator-cell,
.player-stats div:not(.tabulator-selected) > .tabulator-cell {
    background-color: white;
}

.tabulator-table div.scaleup-row .tabulator-cell {
    background-color: #FED8B1;
}

.tabulator div.average-row .tabulator-cell,
.tabulator div.totals-row .tabulator-cell {
    background-color: #AFE1AF;
}

.tabulator-table div.option-year-row .tabulator-cell {
    font-weight: 900;
    font-style: italic;
}

.tabulator-table div.first-place .tabulator-cell {
    font-weight: 900;
}

.tabulator {
    border: 2px solid black !important;
}

    .tabulator .tabulator-header {
        border-bottom: 1px solid black !important;
    }

        .tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] {
            background-color: #70a6da !important;
        }

        .tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] {
            background-color: #70a6da !important;
        }

.tabulator-arrow {
    display: none !important;
}

.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-title {
    text-decoration: overline;
}

.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-title {
    text-decoration: underline;
}

.tabulator .tabulator-header .tabulator-col .tabulator-col-title {
    padding-right: 0px !important;
    color: black;
}

.overwrite-modal .modal-content {
    background-color: #ffc107;
}

.pdfSection p {
    margin: 0;
}

#notes {
    border: 1px solid black;
    border-radius: 2px;
    width: 500px;
    margin: 0px auto 20px auto;
}

.tabulator .tabulator-header .tabulator-col.leftAlign .tabulator-col-title {
    text-align: left;
}

.tabulator .tabulator-header .tabulator-col.centerAlign .tabulator-col-title {
    text-align: center;
}

.deleteButton {
    border: 2px outset red;
    border-radius: 2px;
    background-color: red;
    color: white;
    align-items: center;
    float: right;
}

.draggable {
    cursor: move;
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
    border: outset #6c757d;
}

.draggable.IGW {
    background-color: green;
}

.dropZone {
    padding: 5px;
    height: 80%;
    width: 100%;
    border: solid 2px black;
    border-style: inset;
    border-radius: 5px;
    background: white;
}

    .dropZone:empty:before {
        content: 'Drop ISW or IGW filters here';
        color: grey;
    }

    .dropZone.ISW:empty:before {
        content: 'Drop ISW filters here';
        color: grey;
    }

    .dropZone.IGW:empty:before {
        content: 'Drop IGW filters here';
        color: grey;
    }

.dropZone .dropZone {
    display:inline-block;
    width: 45%;
    margin: 5px;
    border-style: none solid;
    border-radius: 10px;
}

.dropZone .dropZone .dropZone {
    width: 95%;
}

.dropZone.available {
    border-color: lightgreen;
}

.form-box {
    background-color: lightgrey;
    border: 1px solid black;
    padding: 10px;
    width: 100%;
}

.form-box>.row {
    padding-bottom: 10px;
}

.form-box .form-control {
    color: black;
}

.advanced-filter {
    background-color: lightgrey;
    border: 1px solid black;
    padding: 10px;
    width: 100%;
}

    .advanced-filter .row {
        padding-bottom: 5px;
        padding-top: 5px;
    }

    .advanced-filter>.row:nth-child(odd) {
        background-color: #efefef;
    }

        .advanced-filter .row label {
            display: inline-block;
            margin-right: 15px;
            text-align: right;
        }

@media screen and (max-width: 750px) {
    .home .container .row > div {
        flex: 0 0 30%;
    }

    .list-table {
        max-height: 200px;
    }

    .leaderboardsGroupNav .navbar-nav > a {
        padding: 5px !important;
    }

    .comp-report .row {
        flex-wrap: nowrap;
    }

    .playerSearch .autocomplete{
        min-width: 225px;
    }

    .query-tool .body{
        min-width: 964px;
    }

    .query-tool .col-1 {
        flex: 0 0 4%;
        max-width: 4%;
        padding-left: 5px;
        padding-right: 5px;
    }

    .query-tool .col-2 {
        flex: 0 0 7%;
        max-width: 7%;
    }

    .query-tool .col-3 {
        flex: 0 0 8%;
        max-width: 8%;
        padding-left: 5px;
        padding-right: 5px;
    }

    .query-tool .col-4 {
        flex: 0 0 20%;
        max-width: 20%;
        padding-left: 5px;
    }

    .query-tool .col-9 {
        flex: 0 0 20%;
        max-width: 20%;
        padding-left: 5px;
    }

    .query-tool .col-lg-1.col-3 {
        flex: 0 0 8.5%;
        max-width: 15%;
        padding-left: 5px;
    }

    .query-tool .col-lg-4.col-9 {
        flex: 0 0 34%;
        max-width: 34%;
        padding-left: 5px;
    }

    .query-tool #floating-filters{
        width: 964px;
        position: absolute;
    }

        .query-tool #floating-filters .col-1 {
            flex: 0 0 6%;
            max-width: 6%;
            padding-left: 5px;
            padding-right: 5px;
        }

        .query-tool #floating-filters .col-2 {
            flex: 0 0 6%;
            max-width: 6%;
            padding-left: 5px;
            padding-right: 5px;
        }

        .query-tool #floating-filters .col-3 {
            flex: 0 0 8.5%;
            max-width: 15%;
            padding-left: 5px;
            padding-right: 5px;
        }

        .query-tool #floating-filters .col-9 {
            flex: 0 0 75%;
            max-width: 75%;
            padding-left: 5px;
            padding-right: 5px;
        }

        .query-tool #floating-filters .col-xl-2.col-lg-3.col-9 {
            flex: 0 0 35%;
            max-width: 35%;
            padding-left: 5px;
            padding-right: 5px;
        }
        
        .query-tool #floating-filters .col-lg-2.col-3 {
            flex: 0 0 17%;
            max-width: 17%;
            padding-left: 5px;
            padding-right: 5px;
        }
}