
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

*
{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    outline: none;
    z-index: 1;
}

html
{
    font-size: 62.5%;
    font-family: 'Roboto';
}

body
{
    padding-top: 1rem;
    background-color: white;
}

a
{
    color: cornflowerblue;
    text-decoration: none;
}

.hidden
{
    display: none !important;
}

.pageContainer
{
    /* box-sizing: border-box; */
    width: 100%;
    position: relative;
    min-height: calc(100vh - 3rem);
    border: 1px solid transparent;
}

.contentWrap
{
    padding-bottom: 8rem;
    width: 100%;
}

footer
{
    font-size: 1.5rem;
    position: absolute;
    bottom: 0.2rem;
    width: 100%;
    height: 5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgb(0,0,0,0.5)
}

footer h1
{
    font-size: 2rem;
    font-weight: bold;
    width: max-content;
}

footer p
{
    font-size: 1.5rem;
    font-weight: 200;
    width: max-content;
}

footer .impressum
{
    position: absolute;
    right: 0.5rem;
    bottom: 0.5rem;
}

.form
{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    
}

.card
{
    border-radius: 1rem;
    width: 50%;
    align-self: center;
    justify-self: center;
    padding: 2rem;
    margin-left: auto;
    margin-right: auto;
    /* box-shadow: 0 0 10px -5px black; */
    box-shadow: 0 0 10px 0px rgba(0,0,0,0.5);
    background-color: white;
}

@media only screen and (max-width: 1200px) {
    html{
        font-size: 55%;
    }

    .card{
        width: 85%;
    }

    .hourList{
        width: 90% !important;
    }

    .hourContainer{
        flex-direction: column !important;
        /* background-color: red; */
        height: 40rem !important;
        justify-content: center;
        align-items: center;
    }

    .devider
    {
        width: 100% !important;
        flex: 0.3 !important;
        flex-direction: row !important;
        /* justify-content: center !important; */
    }

    .right
    {
        height: 100% !important;
    }

    .rightLabel
    {
        letter-spacing: 0 !important;
    }

    .left
    {
        flex: 2 !important;
    }

    .popup
    {
        width: 95% !important;
        
    }
    
    .headline
    {
        max-width: 80% !important;
    }

    .calenderContainer>.calenderRow>.calenderEl
    {
        padding-top:3rem !important;
        padding-bottom:3rem !important;
        padding-left:0.5rem !important;
        padding-right:0.5rem !important;
    }

    .calenderContainer
    {
        width: 85% !important;
    }

    .listTable
    {
        width: 100% !important;
        /* max-width: 100vw !important; */
        /* font-size: 1.2rem !important; */
    }
    .listTable th
    {
        font-size: 1.8rem !important;
    }

    .gridContainer
    {
        width: 95% !important;
    }

    .inputContainer
    {
        width: 95% !important;
    }
}

.btn
{
    padding: 1rem;
    font-size: 2rem;
    border-radius: 0.5rem;
    border: none;
    background-color: cornflowerblue;
    color: white;
    transition: 0.3s;
    margin-top: 1rem;
    margin-bottom: 1rem;
    margin-left: 0;
    margin-right: 0;
    cursor: pointer;
}

.btn:hover
{
    background-color: rgb(53, 106, 204);
}

.btn.pos
{
    background-color: green;
}

.btn.pos:hover
{
    background-color: rgb(21, 163, 21);
}

.btn.neg
{
    background-color: red;
}

.btn.neg:hover
{
    background-color: rgb(206, 0, 0)
}

.btn:disabled
{
    background-color: rgb(160,160,160);
    cursor: not-allowed;
}

.btn:disabled:hover
{
    background-color: rgb(160,160,160);
    cursor: not-allowed;
}

.form-input
{
    /* max-width: 100%; */
    min-height: 4rem;
    width: 100%;
    padding: 1rem;
    font-size: 2rem;
    border-radius: 0.5rem;
    border: none;
    margin-top: 0.2rem;
    margin-bottom: 1rem;
    border: 1px solid rgb(150,150,150);
    transition: 0.3s;
    font-family: 'Roboto';
}

.form-input:focus
{
    border-color:cornflowerblue;
}

.form-input:disabled
{
    background-color: rgb(160,160,160);
    cursor: not-allowed;
}

.form-input.showOnly
{
    border-color: transparent;
    background-color: rgb(230,230,230);
}

.form-title
{
    text-align: center;
    color: black;
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.form-msg
{
    color: black;
    font-size: 2rem;
    margin: 1rem;
    max-width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.form-label
{
    font-size: 1.5rem;
    /* color: black; */
    color: rgba(100,100,100);
}


.msg
{
    color: black;
    border-left: 1rem solid black;
    background-color: rgba(0,0,0,0.1);

    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    max-width: 100% !important;
    width: max-content;
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
}

.msg.error
{
    color: red;
    border-color: red;
    background-color: rgba(255,0,0,0.1);
}

.msg.success
{
    color: green;
    border-color: green;
    background-color: rgba(0,128,0,0.1);
}

.flex-container
{
    display: flex;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.flex-container.col
{
    flex-direction: column;
}

.flex-container.row
{
    flex-direction: row;
}

.flex-container.col-reverse
{
    flex-direction: column-reverse;
}

.flex-container.row-reverse
{
    flex-direction: row-reverse;
}

.checkbox
{
    position: absolute;
    left: -1.5rem;
}

.checkbox + label
{
    font-size: 2rem;
    line-height: 5.5rem;
    position: relative;
}

.checkbox + label::before
{
    margin-top: 1rem;
    margin-bottom: 1rem;
    width: 3rem;
    height: 3rem;
    border-radius: 0.8rem;
    background-color: white;
    border: none;
    border: 1px solid rgb(150,150,150);
    display: block;
    content: "";
    float: left;
    margin-right: 1rem;
}

.checkbox:checked + label::before
{
    /* box-shadow: 0 0 0px 2px cornflowerblue inset; */
    border-color: cornflowerblue;
}


.checkbox:checked + label::after
{
    z-index: 10;
    position: absolute;
    top: -0.5rem;
    left: -3.3rem;
    width: 0.9rem;
    height: 2rem;
    border-radius: 0;
    background-color: transparent;
    border: none;
    border-bottom: 5px solid cornflowerblue;
    border-right: 5px solid cornflowerblue;
    display: block;
    content: "";
    transform: rotate(40deg);
}

.hourList
{
    width: 50%;
}

.hourContainer
{
    /* border: 1px solid red; */
    height: max-content;
    display: flex;
    flex-direction: row;
    border-radius: 1rem;
    box-shadow: 0px 0px 10px 0px black;
    transition: 0.3s;
    cursor: pointer;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.hourContainer:hover
{
    box-shadow: 0px 0px 15px 1px black;
}

.hourContainer span
{
    text-align: center;
}

.rightInfo
{
    font-size: 5rem;
    font-weight: bold;
}

.rightLabel
{
    font-size: 2rem;
    letter-spacing: 1rem;
}

.left
{
    justify-content: center;
    flex: 1;
}

.devider
{
    background-color: black;
    flex: 0.1 1;
    display: flex;
    flex-direction: column;
    font-size: 2rem;
    color: white;
    align-items: center;
    justify-content: space-evenly;
}

.right
{
    flex: 3;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.location
{
    font-size: 2rem;
    font-weight: bold;
}

.date
{
    font-size: 5rem;
    font-weight: bold;
}

.year
{
    font-size: 2rem;
    color: rgb(150,150,150);
    letter-spacing: 3rem;
    text-indent:3rem;
}

.trainerName
{
    font-size: 2rem;
    color: rgb(150,150,150);
}


/* .year::first-letter
{
    letter-spacing: 0;
} */

.msgContainer
{
    /* width: max-content; */
    max-width: 60%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.headline
{
    max-width: 60%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 4rem;
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.popupContainer
{
    position: fixed;
    z-index: 200;
    background-color: rgba(0,0,0,0.5);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: 0.3s;
}

.popup
{
    padding: 2rem;
    font-size: 2rem;
    width: 40%;
    background-color: white;
    border-radius: 1rem;
    position: relative;
    /* height: 50%; */
    max-height: 90%;
    overflow-x: hidden;
}

.closeBtn
{
    position: absolute;
    right: 1rem;
    top: 0.5rem;
    cursor: pointer;
}

.popup .popupContent
{
    width: 100%;
}

.sidebar
{
    position: fixed;
    width: 5rem;
    height: 100%;
    left: 0;
    top: 0;
    /* background-color: rgb(50,50,100); */
    background-color: transparent;
    transition: 0.5s linear;
    -webkit-transition: 0.5s linear;
    -ms-transition: 0.5s linear;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: white;
    align-items: stretch;
    z-index: 10;
    height: 100%;
}

.sidebar.expanded
{
    position: fixed;
    z-index: 100;
    width: 30rem;
    background-color: rgb(50,50,100);
}

.sidebar>.sidebarDevider
{
    flex: auto;
    background-color: transparent;
    border: transparent;
}

.sidebar.expanded>.sidebarDevider
{
    border-bottom: 1px solid rgb(50,50,150);
}

.sidebar>.row
{
    width: 30rem;
    padding: 1rem 0;
    font-size: 2.5rem;
    /* background-color: red; */
    display: flex;
    flex-direction: row;
    opacity: 0;
    border-bottom: 1px solid rgb(50,50,150);
    transition: 0.5s linear;
    -webkit-transition: 0.5s linear;
    -ms-transition: 0.5s linear;
}

.sidebar.expanded>.row
{
    position: relative;
    opacity: 1;
    cursor: pointer;
}

.sidebar>.row.first
{
    opacity: 1 !important;
    border-bottom: transparent;
    border-top: transparent;
    transition: 0.5s linear;
    -webkit-transition: 0.5s linear;
    -ms-transition: 0.5s linear;
    color: black;
    background-color: white;
    cursor: pointer;
}

.sidebar.expanded>.row.first
{ 
    color: white;
    border-bottom: 1px solid rgb(50,50,150);
    background-color: rgb(50,50,100);
}

.sidebar.expanded>.row:hover
{
    background-color: rgb(70,70,130);
}

.sidebar>.row>.icon
{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex: 1;
    opacity: 1;
    transition: 0.5s linear;
    -webkit-transition: 0.5s linear;
    -ms-transition: 0.5s linear;
    /* background-color: red; */
}

.sidebar:hover>.row>.icon
{
    opacity: 1;
}

.sidebar.expanded>.row>.icon
{
    opacity: 1;
}

.sidebar>.row>.label
{
    opacity: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    margin-left: 1rem;
    flex: 4;
    transition: 0.5s linear;
    -webkit-transition: 0.5s linear;
    -ms-transition: 0.5s linear;
}

.sidebar.expanded>.row>.label
{
    opacity: 1;
}


.calenderContainer
{
    width: 80%;
    display: flex;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
}

.calenderContainer>.calenderRow
{
    width: 100%;
    display: flex;
    flex-direction: row;
}

.calenderContainer>.calenderRow>.calenderEl
{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgb(0,0,0,0.1);
    font-size: 2rem;
    padding: 3rem;
    margin: 0.2rem;
    transition: 0.3s;
    cursor: pointer;
}

.calenderContainer>.calenderRow>.calenderEl.hasTraining
{
    background-color: rgba(0, 120, 255, 0.2);
}

.calenderContainer>.calenderRow>.calenderEl:hover
{
    background-color: rgb(0,0,0,0.2);
}

.calenderContainer>.calenderRow>.calenderEl.hasTraining:hover
{
    background-color:  rgba(0, 120, 255, 0.3);
}

.calenderContainer>.calenderRow>.calenderEl.notThisMonth
{
    opacity: 0.5;
}

.calenderContainer>.calenderRow>.calenderEl.notThisMonth:hover
{
    background-color: rgb(0,0,0,0.1);
}

.calenderContainer>.calenderRow>.calenderEl.dayName
{
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    padding: 1rem;
    cursor:default;
}
.calenderContainer>.calenderRow>.calenderEl.dayName:hover
{
    background-color: rgb(0,0,0,0.1);
}

.loading
{
    width: 5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    animation: rotate 1s infinite;
    margin-left: auto;
    margin-right: auto;
}

@keyframes rotate {
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
}

.listTable
{
    width: 80%;
    font-size: 2rem;
    margin-left: auto;
    margin-right: auto;
    border-collapse: collapse;
    overflow: scroll;
}

.listTableWrapper
{
    width: 100%;
    overflow-x: auto;
    /* overflow:auto; */
}

.listTable.vertical tr
{
    border-bottom: 1px solid black;
}

.listTable.vertical.noBorder tr
{
    border: none;
}

.listTable.vertical.noBorder td
{
    border: none;
}

.listTable.vertical.noBorder th
{
    border: none;
}

.listTable th
{
    border-bottom: 1px solid black;
    text-align: left;
    font-weight: bold;
    padding: 1rem 1rem;
    overflow: hidden;
}


.listTable td
{
    text-align: left;
    padding: 2rem 1rem;
    overflow: hidden;
}


.listTable .contrast
{
    background-color: rgba(0,0,0,0.1);
}


.listTable.clickable tr
{
    transition: 0.3s;
}


.listTable.clickable tr:hover
{
    background-color: rgba(0,0,0,0.2);
    cursor: pointer;
}

.listTable.clickable .tableHeader:hover
{
    background-color: transparent;
    cursor: default;
}

.listTable.clickable .tableSearchRow:hover
{
    background-color: transparent;
    cursor: default;
}


.form-input.error
{
    background-color: rgb(255,200,200);
    border: 1px solid red;
}

.listTable tr.error
{
    /* background-color: rgb(255,200,200); */
    /* border-left: 2px solid red; */
    /* border-right: 2px solid red; */
    background-color: rgba(255,0,0,0.1);
    box-shadow: 5px 0px 0px 0px red inset;
}


.listTable tr.correct
{
    box-shadow: 5px 0px 0px 0px rgba(0,128,0,1) inset;
    background-color: rgba(0,128,0,0.1);
}




.listTable .tableHeadline
{
    text-align: left;
    padding-top: 3rem;
    padding-bottom: 1rem;
    font-weight: bold;
}

.permissionTag
{
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    position: relative;
    /* display: inline-block; */
    padding: 0.2rem 1rem;
    border-radius: 1rem;
    margin: 0.2rem 1rem;
    color: white;
    /* font-size: 1.8rem; */
    background-color:cornflowerblue
}

.permissionTag.disabled
{
    filter: saturate(0.5) brightness(0.8);
}

.permissionTag.youngest
{
    background-color:orange;
}

.permissionTag.kader
{
    background-color: seagreen;
}

.permissionTag.manage
{
    background-color: red;
}

.permissionTag .removeBtn
{
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-left: 0.5rem;
    font-size: 1.3rem;
    color: white;
    cursor: pointer;
    opacity: 0.5;
    /* position: absolute;
    right: 0.2rem; */
}




.addPermissionBtn
{
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 0.2rem solid black;
}

.logo
{
    width: 15rem;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.gridContainer
{
    display: grid;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-template-rows: minmax(100px, auto);
    grid-auto-flow: dense;
    grid-gap: 2rem;
    width: 60%;
    /* border: 1px solid black; */
}

.gridContainer>.gridEl
{
    width: 100%;
    font-size: 2rem;
}

.homeCard
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
    cursor: pointer;
}

.homeCard:hover
{
    box-shadow: 0 0 15px 0px rgba(0,0,0,0.5);
}

.homeCardIcon
{
    padding: 0px;
    font-size: 12rem;
    margin-bottom: -3rem;
    opacity: 0.3;
}

.homeCardTitle
{
    margin: 0px;
    padding: 0px;
    background-color: white;
    font-size: 3rem;
    line-height: 3rem;
    letter-spacing: 0.2rem;
    text-indent: 0.2rem;
    width: 100%;
    text-align: center;
    font-weight: bold;
    box-shadow: 0px -10px 10px 0px white;
}


.notificationCircle
{
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 0.75rem;
    background-color: cornflowerblue;
    margin: 0rem 1rem;
}

.notificationCircle.warning
{
    background-color:orange;
}

.notificationCircle.correct
{
    background-color: seagreen;
}

.notificationCircle.error
{
    background-color: red;
}

.inputContainer
{
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}


.editableInput.error .form-input
{
    background-color: rgb(255,200,200);
    border: 1px solid red;
}

ul
{
    list-style-type: square;
    margin-left: 1rem;
}

li
{
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}

div.contrast
{
    background-color: rgba(0,0,0,0.1);
}

div.clickable:hover
{
    background-color: rgba(0,0,0,0.2);
    cursor: pointer;
}

.bottomNavLink
{
    margin-top: 1rem;
    width: 100%;
    text-align: center;
    font-size: 2rem;
}

.imageInput
{
    display: flex;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    margin: 0;
}

.imagePrviewEl
{
    position: relative;
    width: 15rem;
    height: 15rem;
    border-radius: 2rem;
    border: 2px solid rgb(100,100,100);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(220,220,220);
    color: rgb(100,100,100);
    font-size: 5rem;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s;
}

.imagePrviewEl:hover
{
    filter: brightness(0.8);
}

.imagePrviewEl > img[src=""]
{
    display: none;
}

.imagePrviewEl > img
{
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    border: 0;
    outline: none;
    object-fit: cover;
    overflow: hidden;
}