
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */button,hr,input{overflow:visible}progress,sub,sup{vertical-align:baseline}[type=checkbox],[type=radio],legend{box-sizing:border-box;padding:0}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}details,main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:ButtonText dotted 1px}fieldset{padding:.35em .75em .625em}legend{color:inherit;display:table;max-width:100%;white-space:normal}textarea{overflow:auto}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}[hidden],template{display:none}

/* https://stackoverflow.com/questions/78362747/nouislider-overlaps-with-elements-below-it-which-causes-interaction-issues */


html {
    font-family: Arial, Helvetica, sans-serif;
}
body {
    background-color: #faf9fa;
    font-size: 0.875rem;
}
body > .container {
  padding-bottom: 60px;
}
h1 {
    font-size: 22px;
    font-weight: 500;
    text-transform: uppercase;
    color: #333333;
    letter-spacing: -0.9px;
}
h1 span {    
    color: #02813f;
    font-style: italic;
    font-family: 'Carter One', system-ui;
    font-weight: 100;
    font-size: 1.22em;
    letter-spacing: normal;
}
.navbar {
    background-color: #ffffff;
}
.slider-container {
    margin: 20px 0;
}
.hide {
    display: none;
}
/* .btn-success {
    background-color: #02813f;
}
.btn-danger {
    background-color: #80072D;
} */




/***************************************************************
    TEMPLATE
***************************************************************/
/*reset*/
@media (min-width: 992px) {
    :host, :root {
        margin-left: 0;
    }
}
html {
    font-family: Arial, Helvetica, sans-serif;
}
body {
    background-color: #faf9fa;
}
body > .container {
  padding-bottom: 60px;
}
header {
    margin-bottom: 40px;
}
h1 {
    font-size: 22px;
    font-weight: 500;
    text-transform: uppercase;
    color: #333333;
    letter-spacing: -0.9px;
}
h1 span {    
    color: #02813f;
    font-style: italic;
    font-family: 'Carter One', system-ui;
    font-weight: 100;
    font-size: 1.22em;
    letter-spacing: normal;
}


/***************************************************************
    SLIDER
***************************************************************/
.noUi-pips {
  pointer-events: none;
}
.noUi-connect {
    background: #e7e7e7;
}
.noUi-target {
    margin-bottom: 60px;
}


/***************************************************************
    TABLES
***************************************************************/
table td, table th {
    /* width: 200px !important;     */
    /* padding: 5px !important; */
    white-space:nowrap;
}
table th:first-child,
table td:first-child {
    text-align: left;
}
table.dataTable th.dt-type-numeric, table.dataTable th.dt-type-date, table.dataTable td.dt-type-numeric, table.dataTable td.dt-type-date {
    text-align: center;
}
.table-responsive {
    margin-top: 50px;
}
tfoot td {
    background: #fff !important;
}

/***************************************************************
    PLANNER
***************************************************************/
#tbl-fixtures-thead th
{
    background-color: transparent;
}
table.dataTable.fixtures-table > thead > tr > th.dt-type-numeric, 
table.dataTable.fixtures-table > thead > tr > th.dt-type-date, 
table.dataTable.fixtures-table > tbody > tr >  td.dt-type-numeric, 
table.dataTable.fixtures-table > tbody > tr >  td.dt-type-date {
    /* min-width: 170px; */
}
table.fixtures-table th {
    /* width: 200px !important;     */
    padding: 1px 5px !important;
    white-space:nowrap;
}
table.fixtures-table td {
    padding: 0 !important;
    white-space:nowrap;
}
table.fixtures-table td:has(.dgw) {
    border-bottom: 1px solid #cfd2d6 !important;
}

.difficulty-1 {
    background-color: #02813f !important;
    color: #fff !important;
}
.difficulty-2 {
    background-color: #01FC7A !important;
    color: #333 !important;
}
.difficulty-3 {
    background-color: #E7E7E7 !important;
    color: #333 !important;
}
.difficulty-4 {
    background-color: #ff1751 !important;
    color: #fff !important;
}
.difficulty-5 {
    background-color: #80072D !important;
    color: #fff !important;
}
.selected-players {
    margin: 0 auto;
}
.fixtures-table {
    vertical-align: middle;
}
.fixtures-table td {
    border-right: 1px solid #333 !important;
}
.fixtures-table td:first-child {
    border-left: 1px solid rgba(4, 32, 69, 0.1) !important;
    padding: 0 5px !important;
}
.fixtures-table td:last-child {
    border-right: 1px solid rgba(4, 32, 69, 0.1) !important;
}
.opposition-name {
    padding: 2px 0;
}
.selected-player {
    background: #fff;
    border-radius: 5px;
    padding: 0 3px;
    color: #333;
    margin:1px;
}
.gwpick {
    position: absolute;
    font-size:32px;
    line-height: 0.001;
}
#tbl-fixtures-tbody > tr td .gwpick:nth-child(1) {
    right: 3px;
}
#tbl-fixtures-tbody > tr td .gwpick:nth-child(2) {
    right: 21px;
}
#tbl-fixtures-tbody > tr td .gwpick:nth-child(3) {
    right: 39px;
}
#tbl-fixtures-tbody > tr td .gwpick:nth-child(4) {
    right: 57px;
}
#tbl-fixtures-tbody > tr td .gwpick:nth-child(5) {
    right: 75px;
}
#tbl-fixtures-tbody > tr td .gwpick:nth-child(6) {
    right: 93px;
}
.selected-player > span.difficulty-1,
.selected-player > span.difficulty-2,
.selected-player > span.difficulty-3,
.selected-player > span.difficulty-4, 
.selected-player > span.difficulty-5
{
    float: right;
    margin-left: 5px;
    padding: 0 2px;
    border-radius: 4px;
}
#tbl-fixtures tbody tr td,
#tbl-fixtures tfoot tr td {
    cursor: default;
}
#tbl-fixtures tbody tr td:first-child:hover,
#tbl-fixtures tbody tr td:first-child:hover ~ td {
  font-weight: 600;
}
#tbl-fixtures tbody td {
    position: relative;
}
.new-pick {
    text-decoration: underline;
}
.gwpick img {
    width: 16px;
    margin-top: 3px;
    filter: invert(15%) sepia(0%) saturate(2783%) hue-rotate(323deg) brightness(91%) contrast(83%);
}
.difficulty-5 img,
.difficulty-4 img,
.difficulty-1 img {
    filter: invert(100%) sepia(5%) saturate(3%) hue-rotate(240deg) brightness(103%) contrast(100%);
}
.captain svg, .vice-captain svg {  
    color: #fff;
    width: 15px;
    margin-top: -7px;
    margin-bottom: -4px;
}
.selected-player img {
    width: 16px;
    height: 16px;
    float: left;
}
.position-1 {
    color: #02813f;
    font-weight: 600;
}
.position-2 {
    color: #0e11af;
    font-weight: 500;
}
.position-3 {
    color: #ff8d00;
    font-weight: 500;
}
.position-4 {
    color: #a80a0a;
    font-weight: 500;
}
.selected-players {
    display:table;
    text-align: left;
    padding: 0 10px;
}
.selected-players .sp-row {
    display:table-row;
}
.selected-players .sp-cell {
    display:table-cell;
    padding: 0 5px;
    white-space: nowrap;
}
.selected-players .sp-cell:first-child {
    padding-left:0;
}
.selected-players .sp-cell:last-child {
    padding-right:0;
}
.sp-cell.difficulty {
    text-align: center;
}
.selected-players .sp-cell:nth-child(1),
.selected-players .sp-cell:nth-child(2) {
    border-right: 1px solid #ccc;
    font-family: 'Inconsolata', monospace;
}
.selected-players .sp-row:nth-child(19) .sp-cell {
    border-bottom: 1px solid #ccc;        
}
.selected-players .sp-row:nth-child(16) .sp-cell {
    border-top: 1px solid #ccc;        
}
table.dataTable tfoot > tr > td {
    vertical-align: top;
}
.transfer-list {
    display: table;
    margin: 0 auto;
}
.transfer div {
    display: table-cell;
}
.transfer div:nth-child(1) {
    text-align: right;
}
.transfer div:nth-child(3) {
    text-align: left;
}
.transfer {
    display:table-row;
}
.edit-picks-link {
    margin: 15px 0;
}
.edit-link:hover {
    cursor: pointer;
}
.gw-chip {
    margin: 15px 0;
}
.opposition-name.dgw {
    width: 50%;
    display: inline-block;
}
.dgw-1 {
    text-align: right;
    padding-right: 5px;
}
.dgw-2 {
    text-align: left;
    padding-left: 5px;
}
.dgw-pick-difficulty {
    font-size: 9px;
    font-weight: 600;
}

.chip-used {
    background-color: #0080ff;
    border-color: #666;
    color: #fff;
}
.btn.chip-used:disabled {
    background-color: #0080ff;
    color: #fff;
    border-color: #666;
}
.away {
    text-transform: lowercase;
}
.pick-price,
.pick-points {
    text-align: right;
    font-family: 'Inconsolata', monospace;
}
.gameweek-stats img {
    width: 20px;
    height: 20px;
    vertical-align: bottom;
    margin-right: 2px;
    margin-left: 20px;
}
.gameweek-stats img:first-child {
    margin-left: 0;
}
.difficulty-container {
    text-align: center;
}
.sp-cell .difficulty {
    display: inline-block;
    width:100%;
    padding: 0 5px; 
    font-family: 'Inconsolata', monospace;
}
.sp-cell .difficulty.dgw {
    width:50%;    
    min-width: 40px;
}
table.dataTable tbody tr>.dtfc-fixed-start, table.dataTable tbody tr>.dtfc-fixed-end {
    background-color: #fff;
}
table.dataTable thead tr>.dtfc-fixed-start, table.dataTable thead tr>.dtfc-fixed-end, table.dataTable tfoot tr>.dtfc-fixed-start, table.dataTable tfoot tr>.dtfc-fixed-end {
    background-color: #faf9fa;
}
.completed-gw {
    background-color: #faf9fa !important;
}



#edit-picks h4 {
    margin-top: 10px; 
    margin-bottom: 0px;
}


.gw-score {
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    display: inline-block;
    position: absolute;
    margin: 3px 0 0 3px;
    left: 0;
    font-family: 'Inconsolata', monospace;
    line-height: 1;
    padding: 3px;
}
tr > td .score-dgw:nth-child(2) {
    left: 29px;
}
.score-W {
    background-color: #02813f;
    color: #fff;
}
.score-D {
    background-color: #E7E7E7;
    color: #333;
}
.score-L {
    background-color: #ff1751;
    color: #fff;
}

#tbl-fixtures-thead th:first-child {
    background-color: #faf9fa;
}