/* On/Off slider CSS */
.switch input {
    display: none;
}

.switch {
    display: inline-block;
    width: 60px;
    height: 30px;
    margin: 8px;
    transform: translateY(50%);
    position: relative;
}

/* Style Wired */
.slider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 30px;
    box-shadow: 0 0 0 2px #777, 0 0 4px #777;
    cursor: pointer;
    border: 4px solid transparent;
    overflow: hidden;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: #777;
    border-radius: 30px;
    transform: translateX(-30px);
    transition: .4s;
}

input:checked+.slider:before {
    transform: translateX(30px);
    background: limeGreen;
}

input:checked+.slider {
    box-shadow: 0 0 0 2px limeGreen, 0 0 2px limeGreen;
}

/* Style Flat */
.switch.flat .slider {
    box-shadow: none;
}

.switch.flat .slider:before {
    background: #FFF;
}

.switch.flat input:checked+.slider:before {
    background: white;
}

.switch.flat input:checked+.slider {
    background: limeGreen;
}

/* On/Off slider CSS */
.switch180HF input {
    display: none;
}

.switch180HF {
    display: inline-block;
    width: 60px;
    height: 30px;
    transform: translateY(50%);
    position: relative;
}

/* Style Wired */
.slider180HF {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 30px;
    box-shadow: 0 0 0 2px #777, 0 0 4px #777;
    /*#56FF6C, 0 0 4px #56FF6C;*/
    cursor: pointer;
    border: 4px solid transparent;
    overflow: hidden;
    transition: .4s;
}

.slider180HF:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: #777;
    /*#56FF6C;*/
    border-radius: 30px;
    transform: translateX(-30px);
    transition: .4s;
}

input:checked+.slider180HF:before {
    transform: translateX(30px);
    background: #777;
    /*#A1B4FE;*/
}

input:checked+.slider180HF {
    box-shadow: 0 0 0 2px #777, 0 0 2px #777;
    /*#A1B4FE,0 0 2px #A1B4FE;*/
}

/* Style Flat */
.switch180HF.flat .slider180HF {
    box-shadow: none;
}

.switch180HF.flat .slider180HF:before {
    background: #FFF;
}

.switch180HF.flat input:checked+.slider180HF:before {
    background: white;
}

.switch180HF.flat input:checked+.slider180HF {
    background: #777;
    /*#A1B4FE;*/
}

/* tile CSS*/
.tile {
    background: lightgray;
    padding: 10px 10px 10px 10px;
    border: solid;
    border-width: 10px;
    border-color: #EDECEB;
    border-radius: 25px;
    text-align: center;
}

.playertile {
    background: lightgray;
    padding: 20px 10px 20px 10px;
    border: solid;
    border-width: 10px;
    border-color: #EDECEB;
    border-radius: 25px;
}

.uitslagenTile {
    background: lightgray;
    padding: 20px 10px 20px 10px;
    border: solid;
    border-width: 10px;
    border-color: #EDECEB;
    border-radius: 25px;
    text-align: center;
}

.tile_small {
    background: lightgray;
    padding: 10px 10px 10px 10px;
    border: solid;
    border-width: 10px;
    border-color: #EDECEB;
    border-radius: 25px;
    text-align: center;
}

.tile_small a {
    color: black;
    text-decoration: none;
}

.matchtile {
    padding: 10px 10px 10px 10px;
    border: solid;
    border-width: 5px;
    border-radius: 10px;
    text-align: center;
}

.match-team-user {
    color: #0d6efd;
}

.match-team-winning {
    font-weight: 700;
}

.matchtilenext {
    padding: 10px 10px 10px 10px;
    border: solid;
    border-width: 5px;
    border-radius: 10px;
}

.rightaligned {
    text-align: right
}

.tile:hover {
    background: #A1A1A1;
}

.matchtile:hover {
    background: #6D8BFF;
}

.matchtilegespeeld:hover {
    background: #13D42C;
}

/*Background*/
body {
    background: #EDECEB;
}


/* mobile hide div */
.deskContent {
    width: 100%;
}

.phoneContent {
    width: 100%;
}

@media all and (min-width: 650px) {
    .deskContent {
        display: block;
    }

    .phoneContent {
        display: none;
    }

    .tableDeskContent {
        display: table-cell;
    }

    .tablePhoneContent {
        display: none;
    }

    .ranglijst td {
        padding: 0px 10px 0px 10px;
        border-bottom: 1px solid #ddd;
    }

    .locaties td {
        padding: 0px 10px 0px 10px;
    }
}

@media all and (max-width: 650px) {
    .deskContent {
        display: none;
    }

    .phoneContent {
        display: block;
    }

    .tile {
        padding: 10px 10px 10px 10px;
    }

    .matchtile {
        padding: 10px 10px 10px 10px;
    }

    .matchtilegespeeld {
        padding: 10px 10px 10px 10px;
    }

    .tableDeskContent {
        display: none;
    }

    .tablePhoneContent {
        display: table-cell;
    }

    .ranglijst td {
        padding: 0px 10px 0px 10px;
        border-bottom: 1px solid #ddd;
    }

    .locaties td {
        padding: 0px 10px 0px 10px;
    }

    .uitslagenTabel td {
        padding-bottom: 10px;
        border-bottom: 1px solid #ddd;
    }
}

/* Bootstrap modify */
.row {
    margin-left: 0px;
}

.card-body {
    padding: 0.5rem;
    align-content: center;
}

/* headers */
.gameheader {
    font-size: 20px;
    color: #6D8BFF;
}

.matchheader {
    font-size: 40px;
}

.scoreheader {
    font-size: 25px;
    color: green;
}

.scoreOverzicht {
    font-size: 25px;
    font-weight: bold;
}

.koppelsLetter {
    color: green;
    font-style: italic;
    width: 15px;
    display: inline-block;
}

.tableHeader {
    font-weight: bold;
}

.tableNumberCell {
    text-align: right;
}

.highlightRow {
    background: #6D8BFF;
}

.highlightRowBlue {
    background: #BAC8FF;
}

.highlightRowGreen {
    background: #56FF6C;
}

.highlightTeamRow {
    background: #BAC8FF;
}

/* D3 */

.svg-container {
    display: inline-block;
    /*position: relative;*/
    width: 100%;
    /*padding-bottom: 100%; /* aspect ratio */
    vertical-align: top;
    overflow: hidden;
}

.svg-content-responsive {
    display: inline-block;
    position: absolute;
    top: 10px;
    left: 0;
}

.bar {
    fill: #6D8BFF;
}

.circle {
    background: green;
    color: #fff;
    padding: 5px 10px;
    border-radius: 50%;
    font-size: 15px;
}