/* VBC Willisau - Spielplan Styling */

.sp-wrapper {
    margin: 20px 0;
    background-color: #111;
}

.sp-table {
    width: 100%;
    border-collapse: collapse;
    color: #fff;
    font-family: 'Open Sans', Arial, sans-serif;
}

.sp-table th {
    background-color: #fff000;
    color: #000;
    padding: 12px;
    text-align: left;
    text-transform: uppercase;
    font-weight: 800;
}

.sp-col-res { 
    text-align: left; 
}

.sp-table td {
    padding: 12px;
    border-bottom: 1px solid #222;
    color: #fff !important;
}

.sp-vbcw { 
    color: #fff000 !important; 
    font-weight: bold; 
}

.sp-table td.sp-vbcw { 
    color: #fff000 !important; 
}

.sp-highlight { 
    background-color: rgba(255, 240, 0, 0.05); 
}

.sp-res-box {
    background: #333;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: bold;
    border: 1px solid #fff000;
    display: inline-block;
    min-width: 45px;
    text-align: center;
}

.sp-result { 
    text-align: left; 
}

.sp-res-empty { 
    color: #fff !important; 
}

.sp-date { 
    color: #fff !important; 
    font-size: 0.9em; 
    white-space: nowrap; 
}

.sp-icon-mobile { 
    display: none; 
}

#vbcw-output-container a,
#vbcw-output-container a:link,
#vbcw-output-container a:visited,
#vbcw-output-container a:hover,
#vbcw-output-container a:focus,
#vbcw-output-container a:active {
    color: #fff !important;
    text-decoration: underline !important;
}

.vbcw-loader { 
    color: #fff; 
    text-align: center; 
}

/* Tablet */
@media (min-width: 601px) and (max-width: 1024px) {
    .sp-table { 
        font-size: 0.9em; 
    }
    .sp-col-date { 
        width: 140px; 
    }
    .sp-col-res { 
        width: 100px; 
    }
}

/* Mobile */
@media (max-width: 600px) {
    .sp-hide-mobile { 
        display: none; 
    }
    
    .sp-icon-mobile { 
        display: inline; 
    }
    
    .sp-table thead { 
        display: none; 
    }
    
    .sp-table tr {
        display: flex;
        flex-direction: column;
        padding: 15px 10px;
        position: relative;
        border-bottom: 2px solid #333;
    }
    
    .sp-table td { 
        padding: 2px 0; 
        border: none; 
        text-align: left; 
        color: #fff; 
    }
    
    .sp-date { 
        order: 1; 
        margin-bottom: 8px; 
        font-size: 0.85em; 
    }
    
    .sp-team { 
        order: 2; 
        font-size: 1.05em; 
        width: 75%; 
    }
    
    .sp-result {
        order: 3;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        text-align: center;
    }
    
    .sp-hall {
        order: 4;
        margin-top: 8px;
        font-size: 0.85em;
    }
}
