﻿#nav-container, nav, nav ul, nav li, nav div.link-container {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    z-index: 10;
}

#nav-container {
    background-color: #2D3544;
    position: fixed;
    height: 100%;
    width: 16%;
}

#menu-toggle {
    width: 100%;
    height: 30px;
}

.header-part {
    position: relative;
    width: 100%;
    height: 15%;
}

    .header-part #menu-toggle .menu-collapse-button {
        color: white;
        width: 28px;
        height: 28px;
        background-color: #35A5F9;
        margin-top: 6px;
        margin-right: -14px;
        float: right;
        border-radius: 14px;
        text-align: center;
        font-size: 19px;
        font-weight: 600;
        font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
        cursor: pointer;
    }

        .header-part #menu-toggle .menu-collapse-button::after {
            content: "<";
        }

    .header-part .navbar-header {
        margin-top: 5px;
        width: 100%;
        height: 50px;
    }

        .header-part .navbar-header .menu-logo {
            width: calc(75vw * .16);
            height: calc(75vw * .16 / 6.37);
            margin-left: auto;
            margin-right: auto;
            background-image: url('../images/timestone_logo_dark.svg');
            background-repeat: no-repeat;
            background-size: contain;
        }

nav {
    padding-top: 20%;
    height: 85%;
    width: 100%;
}

    nav li, nav ul label.title, nav ul, nav a {
        color: #FFF;
        font-family: 'Montserrat', 'Open Sans', sans-serif;
        display: block;
    }

    nav ul {
        width: 100%;
    }

        nav ul div.label-background {
            width: 100%;
            height: 50px;
            padding-top: 10px;
        }

    nav label {
        width: 100%;
        height: 30px;
        margin: 0;
        cursor: pointer;
    }

        nav label .label-icon {
            margin-left: 16%;
            width: 33px;
            height: 33px;
            background-size: 30px 30px;
            display: inline-block;
            transition: all .25s;
        }


    nav ul li:hover div.label-background {
        background: rgba(56, 227, 171, .3);
        box-shadow: inset 5px 0px 0px 0px #38e3ab;
    }

    nav ul li div.link-container {
        display: none;
    }

    nav ul label .hours-icon {
        background-color: #38e3ab;
        -webkit-mask-image: url('../images/MenuIcons/hours.svg');
        mask-image: url('../images/MenuIcons/hours.svg');
    }

    nav ul label .basics-icon {
        background-color: #38e3ab;
        -webkit-mask-image: url('../images/MenuIcons/management.svg');
        mask-image: url('../images/MenuIcons/management.svg');
    }

    nav ul label .manage-icon {
        background-color: #38e3ab;
        -webkit-mask-image: url('../images/MenuIcons/settings.svg');
        mask-image: url('../images/MenuIcons/settings.svg');
    }

    nav ul label .invoice-icon {
        background-color: #38e3ab;
        -webkit-mask-image: url('../images/MenuIcons/invoice.svg');
        mask-image: url('../images/MenuIcons/invoice.svg');
    }

    nav ul label .budgets-icon {
        background-color: #38e3ab;
        -webkit-mask-image: url('../images/MenuIcons/budgets.svg');
        mask-image: url('../images/MenuIcons/budgets.svg');
    }

    nav ul label .employees-icon {
        background-color: #38e3ab;
        -webkit-mask-image: url('../images/MenuIcons/employees.svg');
        mask-image: url('../images/MenuIcons/employees.svg');
    }

    nav ul label .report-icon {
        background-color: #38e3ab;
        -webkit-mask-image: url('../images/MenuIcons/reports.svg');
        mask-image: url('../images/MenuIcons/reports.svg');
    }

    nav ul label .language-icon {
        background-color: #38e3ab;
        -webkit-mask-image: url('../images/MenuIcons/help.svg');
        mask-image: url('../images/MenuIcons/help.svg');
    }

    nav ul label .label-text {
        margin-left: 10px;
        height: 30px;
        font-size: 20px;
        font-weight: 100;
        transition: all .25s;
        vertical-align: top;
        font-family: 'DM Sans', sans-serif;
    }

    nav ul li {
        display: block;
        height: 50px;
        transition: all .25s;
        margin-bottom: 15px;
    }

    nav a:first-of-type {
        margin-top: 15px;
    }

    nav a {
        font-size: 14px;
        text-decoration: none;
        color: #FFF;
        display: block;
        padding: 10px 25px;
        transition: all 0.25s;
        margin-left: 24%;
        box-shadow: inset 5px 0px 0px 0px #34a1f4;
        font-family: 'DM Sans', sans-serif;
    }

        nav a:active { /*background: rgba(56, 227, 171, .3);*/
            background-color: rgba(56, 227, 171, .3);
            text-decoration: none;
        }

        nav a:visited {
            text-decoration: none;
        }

        nav a.selected-menuitem {
            background-color: rgba(56, 227, 171, .3);
            text-decoration: none;
        }

        nav a:hover {
            background-color: rgba(56, 227, 171, .3);
            color: white;
            text-decoration: none;
        }

    nav input[type="radio"] {
        display: none;
    }

    /* Input checked */
    nav input:checked + li div.link-container {
        display: block;
    }

/* Collapsed */

.collapsed {
    width: 5% !important;
}

    .collapsed .header-part #menu-toggle .menu-collapse-button::after {
        content: ">";
    }

    .collapsed .header-part .navbar-header .menu-logo {
        width: 38px;
        height: 38px;
        background-image: url('../images/timestone_icon.svg');
        background-size: contain;
    }

    .collapsed nav ul label {
        text-align: center;
    }

    .collapsed nav li div.link-container {
        background-color: #2D3544;
        position: relative;
        top: -50px;
        left: calc(100% - 2px);
        width: 220px;
        height: auto;
        z-index: 10;
    }

        .collapsed nav li div.link-container a {
            margin-left: 0;
        }

    .collapsed nav input:checked + li div.link-container {
        display: none;
    }

    .collapsed nav input:checked + li:hover div.link-container {
        display: block;
    }

    .collapsed nav li:hover div.link-container {
        display: block;
    }

    .collapsed nav ul label .label-icon {
        margin-left: 0;
    }

    .collapsed nav ul label .label-text {
        display: none;
    }

nav input:checked + li {
    height: auto;
    max-height: 500px;
}

    nav input:checked + li div.label-background {
        background: rgba(56, 227, 171, .3);
        box-shadow: inset 5px 0px 0px 0px #38e3ab;
    }

.collapsed nav input:checked + li {
    height: 50px;
    max-height: 50px;
}

@media screen and (max-width: 600px) {
    nav {
        width: 100%;
        position: relative;
    }

    main {
        width: 100%;
        position: relative;
    }
}

#nav-container div.login-part {
    position: absolute;
    width: 100%;
    height: 10%;
    bottom: 0;
    z-index: 11;
    color: white;
    text-align: center;
    vertical-align: middle;
}

    #nav-container div.login-part a:first-of-type {
        margin-right: 10px;
    }

    #nav-container div.login-part a {
        padding: 10px;
        width: 50%;
        color: white;
        text-decoration: none;
        box-shadow: inset 5px 0px 0px 0px #34a1f4;
    }

        #nav-container div.login-part a:hover {
            background-color: #38e3ab;
            color: black;
            text-decoration: none;
        }

#nav-container.collapsed div.login-part {
    height: 15%;
    text-align: left;
    vertical-align: unset;
}

    #nav-container.collapsed div.login-part a:first-of-type {
        margin-right: 0;
        bottom: 0;
        margin-bottom: 40px;
    }

    #nav-container.collapsed div.login-part a {
        position: absolute;
        width: 100%;
        bottom: 0;
    }

.top-bar {
    position: fixed;
    z-index: 2;
    top: 0;
    width: 100%;
    height: 60px;
    background-color: white;
    box-shadow: 0 0 5px #808080;
}

    .top-bar .top-bar-header-wrapper {
        position: relative;
        width: auto;
        float: left;
        height: 100%;
        left: 20%;
    }

    .top-bar .top-bar-content-wrapper {
        position: relative;
        width: auto;
        float: right;
        height: 100%;
        right: 100px;
    }

        .top-bar .top-bar-content-wrapper .name-wrapper {
            right: 250px;
            display: inline-block;
        }

            .top-bar .top-bar-content-wrapper .name-wrapper .name-text {
                position: relative;
                top: -8px;
                font-size: 1.1em;
                font-family: 'DM Sans', sans-serif;
            }

        .top-bar .top-bar-content-wrapper .account-wrapper {
            width: 220px;
            height: 100%;
            display: inline-block;
        }

            .top-bar .top-bar-content-wrapper .account-wrapper .label-wrapper {
                position: relative;
                margin-top: 10px;
            }

            .top-bar .top-bar-content-wrapper .account-wrapper div.label-wrapper label {
                width: 100%;
                margin: 0;
                cursor: pointer;
            }

                .top-bar .top-bar-content-wrapper .account-wrapper div.label-wrapper label .label-icon.account-icon {
                    display: inline-block;
                    margin-left: 20%;
                    width: 35px;
                    height: 35px;
                    background-color: #35A5F9;
                    -webkit-mask-image: url('../images/MenuIcons/account.svg');
                    mask-image: url('../images/MenuIcons/account.svg');
                }

                .top-bar .top-bar-content-wrapper .account-wrapper div.label-wrapper label .label-text {
                    margin-left: 10px;
                    font-size: 1.3em;
                    position: relative;
                    bottom: 10px;
                }


            .top-bar .top-bar-content-wrapper .account-wrapper div.link-container {
                position: absolute;
                width: 220px;
                top: 60px;
                background-color: #2D3544;
                border-bottom-right-radius: 20px;
                border-bottom-left-radius: 20px;
                float: right;
                display: none;
            }

            .top-bar .top-bar-content-wrapper .account-wrapper:hover {
                background-color: #2D3544;
                color: white;
            }

        .top-bar .top-bar-content-wrapper .tickets-wrapper {
            width: 220px;
            height: 100%;
            display: inline-block;
        }

            .top-bar .top-bar-content-wrapper .tickets-wrapper .label-wrapper {
                position: relative;
                margin-top: 10px;
                color: #212529;
            }

                .top-bar .top-bar-content-wrapper .tickets-wrapper .label-wrapper label {
                    width: 100%;
                    margin: 0;
                    cursor: pointer;
                }

                    .top-bar .top-bar-content-wrapper .tickets-wrapper .label-wrapper label .label-icon.tickets-icon {
                        display: inline-block;
                        margin-left: 20%;
                        width: 35px;
                        height: 35px;
                        background-color: #35A5F9;
                        -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M192 208c0-17.67-14.33-32-32-32h-16c-35.35 0-64 28.65-64 64v48c0 35.35 28.65 64 64 64h16c17.67 0 32-14.33 32-32V208zm176 144c35.35 0 64-28.65 64-64v-48c0-35.35-28.65-64-64-64h-16c-17.67 0-32 14.33-32 32v112c0 17.67 14.33 32 32 32h16zM256 0C113.18 0 4.58 118.83 0 256v16c0 8.84 7.16 16 16 16h16c8.84 0 16-7.16 16-16v-16c0-114.69 93.31-208 208-208s208 93.31 208 208h-.12c.08 2.43.12 165.72.12 165.72 0 23.35-18.93 42.28-42.28 42.28H320c0-26.51-21.49-48-48-48h-32c-26.51 0-48 21.49-48 48s21.49 48 48 48h181.72c49.86 0 90.28-40.42 90.28-90.28V256C507.42 118.83 398.82 0 256 0z'/></svg>");
                        mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M192 208c0-17.67-14.33-32-32-32h-16c-35.35 0-64 28.65-64 64v48c0 35.35 28.65 64 64 64h16c17.67 0 32-14.33 32-32V208zm176 144c35.35 0 64-28.65 64-64v-48c0-35.35-28.65-64-64-64h-16c-17.67 0-32 14.33-32 32v112c0 17.67 14.33 32 32 32h16zM256 0C113.18 0 4.58 118.83 0 256v16c0 8.84 7.16 16 16 16h16c8.84 0 16-7.16 16-16v-16c0-114.69 93.31-208 208-208s208 93.31 208 208h-.12c.08 2.43.12 165.72.12 165.72 0 23.35-18.93 42.28-42.28 42.28H320c0-26.51-21.49-48-48-48h-32c-26.51 0-48 21.49-48 48s21.49 48 48 48h181.72c49.86 0 90.28-40.42 90.28-90.28V256C507.42 118.83 398.82 0 256 0z'/></svg>");
                        -webkit-mask-repeat: no-repeat;
                        mask-repeat: no-repeat;
                        mask-size: contain;
                        mask-position: center;
                    }


                    .top-bar .top-bar-content-wrapper .tickets-wrapper .label-wrapper label .label-text {
                        margin-left: 10px;
                        font-size: 1.3em;
                        position: relative;
                        bottom: 10px;
                    }

            .top-bar .top-bar-content-wrapper .tickets-wrapper:hover {
                background-color: #2D3544;
            }

                .top-bar .top-bar-content-wrapper .tickets-wrapper:hover a {
                    background-color: #2D3544;
                    color: white;
                }

            .top-bar .top-bar-content-wrapper .tickets-wrapper > a.label-wrapper {
                display: block;
            }

        .top-bar .top-bar-content-wrapper .account-wrapper:hover .account-icon {
            background-color: #38e3ab !important;
        }

        .top-bar .top-bar-content-wrapper .tickets-wrapper:hover .tickets-icon {
            background-color: #38e3ab !important;
        }

        .top-bar .top-bar-content-wrapper .account-wrapper:hover div.link-container {
            display: block;
        }

        .top-bar .top-bar-content-wrapper .account-wrapper a {
            font-size: 15px;
            text-decoration: none;
            color: #FFF;
            display: block;
            padding: 10px 25px;
        }

            .top-bar .top-bar-content-wrapper .account-wrapper a:hover {
                background: rgba(56, 227, 171, .3);
            }

            .top-bar .top-bar-content-wrapper .account-wrapper a:last-of-type {
                margin-bottom: 20px;
            }

.warning-wrapper {
    position: fixed;
    z-index: 2;
    top: 60px;
    width: 100%;
    width: 50%;
    left: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(90deg,#fff1f0,#ffe3e0);
    border-top: 1px solid #ffccc7;
    border-bottom: 1px solid #ffa39e;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    position: absolute;
}

        .warning-wrapper .warning-text {
            color: #a8071a;
            font-weight: 700;
            font-size: 18px;
            line-height: 1.35;
            margin: 0;
            letter-spacing: .2px;
        }
