body {
    display: flex;
    flex-direction: column;
    height: 100%;
}


div.tabs {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.tab-content > * {
    margin: 25px 50px;
}

#titelbar {
    display:flex;
    height: 75px;
    margin: 30px;
    align-items: center;
    padding: 20px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border-radius: 8px;
}
    #titel {
        font-size: 30px;
        flex: 1;
    }

    #titelbar#rol {
        font-size: larger;
    }

    
.nav-tabs {
    margin: 0px 30px;
}

.nav-tabs>li>a {
    font-size: 24px
}


/*    TABS    */
.tab-content {
    display: flex;
    height: 100%;
}
.tab-content > * {
    width: 100%;
    box-sizing: border-box;
}

/* ploegdata */
#Ploegdata > .tijdstip {
    display: flex;
    gap: 20px
}

#Clubdata > div{
    display: flex;
    gap: 30px
}
@media (max-width: 1000px) {
    #Clubdata > div{
        flex-direction: column;
    }
  }


#Clubdata .form-group {
    flex: 1
}
/* klassement */
#Klassement > .titel {
    display: flex;
}
#Klassement #DDcategorie {
    align-self: center;
    margin-left: auto;
    border-color: lightgray;
}
#Klassement .mijnPloeg{
    background-color: #87c3d6;
}

/* mijn wedstrijden */

#titelSpelersIngeven {
    display: flex;
    align-items: center;
}
    button.voegSpelersToe {
        margin-left: auto;
    }

#Mijn-Wedstrijden img.toestand {
    width: 20px;
}



/* speleruploads */
#Spelers-uploaden label {
    font-weight: normal;
}
#Spelers-uploaden .titel {
    flex-direction: column;
}
#Spelers-uploaden .titel.row-flex {
    flex-direction: row;
}

#Spelers-uploaden .titel > label.row-flex {
    margin-left: auto;
}

/* pop up */


/* Popup styling */


.popup .boven.pijl {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 30px;
}
.popup img.overzicht.pijl {
    height: 30px;
}
.popup .boven.pijl h1 {
    margin: auto;
}

    .popup #uitslagentabel {
        display: flex;
        align-items: stretch;
        gap: 20px;
    }
    .popup .lijn {
        width: 1px;
        background-color: gray;
        margin-top: 19px;
    }
    .popup.uitslag input {
        width: 60px;
        margin-left:20px;
    }
    .popup #uitslagentabel > * > div {
        display: flex;
    }

    .popup label {
        font-size: 15px;
        font-weight: 500;
    }

    .popup th.spacer {
        padding: 25px;
        padding-bottom: 0px;
        height: 40px;

    }
    .popup th.spacer > div {
        width: 1px;
        background-color: gray;
        height: 100%;
    }
    .popup div.spacer {
        background-color: gray;
        width: 1px;
        height: 42px;
        margin: 0px 25px;
    }
    .popup > button.bevestigen {
        align-self: end;
        margin-top: 19px;
        width: 144px;
    }

    .popup.spelersToevoegen {
        background-color: #f3f3f3;
        max-width: 99%;
    }

    .popup.spelersToevoegen h1 {
        margin-bottom: 30px;
    }
    .popup.spelersToevoegen #spelerslijst {
        width: 400px;
    }
    .popup.spelersToevoegen .spelerslijst {
        /*width: 500px;*/
    }

/* popup spelers ingeven */

#flexSpelersIngeven {
    display: flex;
    gap: 30px;
}
    #spelers_ingeven_wrapper {
        flex: 3;
    }
    #spelerslijst_wrapper {
        flex: 2;
    }

    .popup.spelersToevoegen .links {
        width: 384px;
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: #f8f8f8;
    }
    .popup.spelersToevoegen .links > .helft{
        font-size: 23px;
    }

    .popup.spelersToevoegen .links > div { /* wedstrijden */
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 93%;
    }
    .popup.spelersToevoegen .card {
        width: 100%;
    }
    .popup.spelersToevoegen .card label {
        align-items: center;
    }

    .popup.spelersToevoegen #toonMax {
        margin-top: auto;
    }

    table .onbeschikbaar:not(.selected){
        opacity: 0.45;
        pointer-events: none;
    }
    .popup .bevestigen.nietAllesIngevuld,  .popup .bevestigen.teVeelPunten { /* beide popups*/  
        pointer-events: none;
        opacity: .65;
    }
    .popup.spelersToevoegen .boven-beneden {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .popup.spelersToevoegen .card .boven {
        display: flex;
    }
    .popup.spelersToevoegen .wedstrijdpunten {
        margin-left: auto;
    }


    .popup.spelersToevoegen .card .beneden {
        display: flex;
        gap: 10px;
    }
    .popup.spelersToevoegen .speler {
        height: 20px;
        border: 1px solid gray;
        border-radius: 25px;
        margin-top: 10px;
        background-color: #ffffff78;
        display: flex;
        max-width: 132px;
    }

    .popup.spelersToevoegen .speler:not(.spelerAanwezig) {
        width: 132px;
    }

    .popup.spelersToevoegen .speler span {
        width: 100%;
        margin-left: 10px;
        font-size: 13px;
        color: #4e4e4e;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }

    .popup.spelersToevoegen .speler img {
        height: 100%;
        padding: 1px;
        padding-right: 0px;
    }




    

@media screen and (max-width: 1300px) {
    #flexSpelersIngeven {
        flex-direction: column;
    }
}

#spelerslijst_wrapper {
    display: none;
}

/* BEVESTIGING */ 
#bevestiging {
    position: fixed;
    right: 20px;
    bottom: 10px;
    border-radius: 10px;
    background-color: #00802F;
    height: 40px;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    padding-left: 8px;
    padding-right: 15px;
    gap: 15px;
}
#bevestiging > img {
    background-size: contain;
    height: 30px;
}
#bevestiging > p {
    margin: 0;
}