/* GENERAL */

TABLE.gst-standings,
TABLE.gst-results {
    width: 100% !important;
    border-color: rgba(0,92,167,0.2);
    /* margin-bottom: 0 !important; */
    /* margin-bottom: 20px !important; */
}

TABLE.gst-standings THEAD,
TABLE.gst-results THEAD{
    background: #CCC;
    color: #202020;
    text-align: center;
}

TABLE.gst-standings TR{
    color: #202020;
    height: 2.3rem;
}

TABLE.gst-results TR{
    color: #202020;
}

TABLE.gst-standings TR:nth-child(even),
TABLE.gst-results TR:nth-child(even){
    background: #fcfcfc;
}

/** Error */

.gst-no-results{
    margin-bottom: .8rem;
}

/* RESULTS */

TABLE.gst-results TD {
    vertical-align: middle;
}

TABLE.gst-results TR TH:nth-child(4) {
    text-align: center;
}

TABLE.gst-results .gst-date-column {
    display: flex;
    flex-direction: column;
    font-size: x-small;
}

TABLE.gst-results .gst-date-column .gst-date {
    font-weight: 600;
}

TABLE.gst-results .gst-club-column {
	word-break: break-word;
}

TABLE.gst-results .result-loss { 
    background: #9d5757;
}

TABLE.gst-results .result-win { 
    background: #80a964;
}

TABLE.gst-results .result-none {
    background: transparent;
    color: #333;
}
TABLE.gst-results .result-draw { 
    background: grey;
}

TABLE.gst-results .gst-result-column{
    text-align: center; 
} 

TABLE.gst-results .gst-result-column SPAN{    
    color: white;
    padding: 0.1rem 0.3rem;
    vertical-align: middle;
}

TABLE.gst-results .gst-result-column SPAN.result-none{    
    color: #333 !important;
}

TABLE.gst-results TD,
TABLE.gst-results TH {
	padding: 4px 3px !important;
}

TABLE.gst-results .gst-club-column {
	word-break: break-all;
}

TABLE.gst-standings TBODY TR TD.team{
	word-break: break-all;
}

/* STANDINGS */

/* THead */

TABLE.gst-standings TR TH.team{
    font-weight: 600;    
    text-align: left;
}

/* TBody */

TABLE.gst-standings TR TD:first-child,
TABLE.gst-standings TR TD.sp{
    font-weight: 600;
}

TABLE.gst-standings TR TD.team{
    font-weight: 600;
    text-align: left;    
}

TABLE.gst-standings TR TH,
TABLE.gst-standings TR TD {
    padding: 5px 2px 5px 2px !important;
    text-align: center;
    vertical-align: middle;
}

TABLE.gst-standings TR.marked{
    background: #e1cd87;
}

TABLE.gst-standings TR.gst-up{
    background-color: #80a964 !important;
    color: white;    
}

TABLE.gst-standings TR.gst-down{
    background-color: #9d5757 !important;
    color: white;   
}

TABLE.gst-standings.table_sm TR TH.s,
TABLE.gst-standings.table_sm TR TH.u,
TABLE.gst-standings.table_sm TR TH.n,
TABLE.gst-standings.table_sm TR TH.tore,
TABLE.gst-standings.table_sm TR TD.s,
TABLE.gst-standings.table_sm TR TD.u,
TABLE.gst-standings.table_sm TR TD.n,
TABLE.gst-standings.table_sm TR TD.tore{
    display:none;
}

TABLE.gst-standings.table_lg TR TH.s,
TABLE.gst-standings.table_lg TR TH.u,
TABLE.gst-standings.table_lg TR TH.n,
TABLE.gst-standings.table_lg TR TH.tore,
TABLE.gst-standings.table_lg TR TD.s,
TABLE.gst-standings.table_lg TR TD.u,
TABLE.gst-standings.table_lg TR TD.n,
TABLE.gst-standings.table_lg TR TD.tore{
    display:table-cell;
}

TABLE.gst-standings TR TH:first-child,
TABLE.gst-standings TR TD:first-child{
    width: 6%;
}

TABLE.gst-standings TR .team{
    width: 50%;
}

TABLE.gst-standings TR .sp{
    width: 6%;
}

TABLE.gst-standings TR .s{
    width: 6%;
}

TABLE.gst-standings TR .u{
    width: 6%;
}

TABLE.gst-standings TR .n{
    width: 6%;
}

TABLE.gst-standings TR .tore{
    width: 6%;
}

TABLE.gst-standings TR .diff{
    width: 6%;
}

TABLE.gst-standings TR .pkt{
    width: 6%;
    padding-right: 5px !important;
}


/* WP Overrides */

table.gst-scores.table_sm thead tr th, 
table.gst-scores.table_sm tfoot tr th, 
table.gst-scores.table_sm tbody tr td,
table.gst-scores.table_sm tr td,
table.gst-scores.table_sm tfoot tr td{
    line-height: normal;
    font-size: small;
}

table.gst-scores.table_lg thead tr th, 
table.gst-scores.table_lg tfoot tr th, 
table.gst-scores.table_lg tbody tr td,
table.gst-scores.table_lg tr td,
table.gst-scores.table_lg tfoot tr td{
    line-height: normal;
    font-size: medium;
}

.widget.widget_gst_gst_table_widget,
.widget.widget_gst_gst_results_widget{
    margin: 0 !important;
    padding: 0 !important;
}

.widget.widget_gst_gst_table_widget H4,
.widget.widget_gst_gst_results_widget H4{
    /* font-size: 1rem; */
}

.widget.widget_gst_gst_table_widget .gst-scores,
.widget.widget_gst_gst_results_widget .gst-scores{
    /* font-size: 0.7rem; */
}
