﻿
/*body {
    background-color: #f1f1f1;
    background-image: initial;
}*/

#canvasCapture2 {
    margin: 4px;
    background-color: #CCCCCC;
    height: 52.5px;
    width: 70px;
}

.modal-header-profile {
    padding: 8px 16px;
    background-color: #117a8b;
    color: white;
}

#menu .left-menu {
    position: fixed;
    top: 70px;
}

/*.dropdown-menu {
    background-color: #343a40;
    font-size: small;
    margin-top: 7px;
    border-radius: 0px;
}

.dropdown-item {
    color: white;
    left: unset;
    right: auto;
}
*/
.nav-link {
    font-size: small;
}

.navbar-brand {
    font-size: small;
}

#msg ::-webkit-scrollbar {
    display: none !important;
}
/*
        .full-container {
            font-size: small;
        }*/
.sidebarleft {
    height: 90vh;
    min-height: 500px;
    background-color: #332a7c;
    width: 50px;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    transition: width 0.2s;
    margin: 5px;
    margin-top: 7vh;
    border-radius: 25px;
}

    .sidebarleft:hover {
        width: 160px;
        overflow: visible;
    }

    .sidebarleft li span {
        display: none;
    }

    .sidebarleft:hover li span {
        display: initial;
    }

navleft {
    height: 60vh;
    min-height: 300px;
}

ulleft {
    height: 30%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

lileft a {
    width: 160px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    text-decoration: none;
    padding: 10px 0;
    font-family: '';
    color: white;
}

    lileft a:hover {
        background-image: linear-gradient(to right,#3c8dbc 7px,rgba(255,255,255,0.1) 7px);
        color: darkgray;
    }

    lileft a:active {
        border-top-left-radius: 100%;
        border-bottom-left-radius: 100%;
    }

.sidenav {
    height: 100%;
    width: 0;
    /*position: fixed;*/
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    /*padding-top: 60px;*/
}

    .sidenav a {
        padding: 8px 8px 8px 32px;
        text-decoration: none;
        font-size: 25px;
        color: #818181;
        display: block;
        transition: 0.3s;
    }

        .sidenav a:hover {
            color: #f1f1f1;
        }

    .sidenav .closebtn {
        position: absolute;
        top: 0;
        right: 25px;
        font-size: 36px;
        margin-left: 50px;
    }

#appevent {
    transition: margin-left .5s;
    margin-left: 68px
}
#main {
    transition: margin-left .5s;
    padding-left: 15px
}
#main2 {
    transition: margin-left .5s;
    padding-left: 15px
}
#appnewevent {
    transition: margin-left .5s;
    padding-left: 3px
}

@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }

        .sidenav a {
            font-size: 18px;
        }
}

.main {
    margin-left: 10px;
}

#divfix {
    bottom: 10;
    left: 0;
    position: fixed;
    z-index: 3000;
}
/*new*/
ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.navigation {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 70px;
    /*border-radius: 20px;*/
    background: var(--color1); /* #1b1269;*/
    box-sizing: initial;
    border-left: 5px solid var(--color1);
    transition: 0.5s;
    z-index: 1020;
    overflow: hidden;
}

    .navigation:hover {
        width: 150px;
    }

    .navigation.active {
        width: 150px;
    }

    .navigation ul {
        position: absolute;
        top: 70px;
        left: 3px;
        width: 100%;
        padding-left: 5px;
        padding-top: 10px;
    }

        .navigation ul li.active {
            background: #f1f1f1;
            /*background:yellow;*/

            height: 50px;
            margin-bottom: 20px;
        }

        .navigation ul li b:nth-child(1) {
            position: absolute;
            top: -40px;
            height: 40px;
            width: 100%;
            background: #f1f1f1;
            display: none;
        }

            .navigation ul li b:nth-child(1)::before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                border-bottom-right-radius: 30px;
                background: var(--color1);
            }

        .navigation ul li b:nth-child(2) {
            position: absolute;
            bottom: -40px;
            height: 40px;
            width: 100%;
            background: #f1f1f1;
            display: none;
        }

            .navigation ul li b:nth-child(2)::before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                border-top-right-radius: 30px;
                background: var(--color1);
            }

        .navigation ul li.active b:nth-child(1) {
            display: block;
        }

        .navigation ul li.active b:nth-child(2) {
            display: block;
        }

        .navigation ul li {
            position: relative;
            list-style: none;
            width: 100%;
            height: 20%;
            border-top-left-radius: 50px;
            border-bottom-left-radius: 50px
        }

            .navigation ul li a {
                position: relative;
                display: block;
                width: 100%;
                display: flex;
                text-decoration: none;
                /*background-color: #cbd4de;*/
                color: white;
            }

            .navigation ul li.active a {
                color: #333;
            }

            .navigation ul li a .icon {
                position: relative;
                display: block;
                min-width: 60px;
                height: 70px;
                line-height: 55px;
                text-align: center;
                z-index: 2;
                border-color: yellow;
            }

                .navigation ul li a .icon i {
                    font-size: 1.3em;
                }

            .navigation ul li a .title {
                position: relative;
                display: block;
                padding-left: 5px;
                height: 40px;
                line-height: 50px;
                white-space: normal;
                z-index: 1;
            }

.toggle {
    position: fixed;
    top: 65px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #332a7c;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1020;
}

    .toggle.active {
        background: white;
    }


