﻿/* Shrinking the sidebar from 250px to 80px and center aligining its content*/
#sidebar.active {
    min-width: 80px;
    max-width: 80px;
    text-align: center;
}

/* Toggling the sidebar header content, hide the big heading [h3] and showing the small heading [strong] and vice versa*/
#sidebar .sidebar-header strong {
    display: none;
}

#sidebar.active .sidebar-header h3 {
    display: none;
}

#sidebar.active .sidebar-header strong {
    display: block;
}

#sidebar ul li a {
    text-align: left;
}

#sidebar.active ul li a {
    padding: 20px 10px;
    text-align: center;
    font-size: 0.85em;
}

    #sidebar.active ul li a i {
        margin-right: 0;
        display: block;
        font-size: 1.8em;
        margin-bottom: 5px;
    }

/* Same dropdown links padding*/
#sidebar.active ul ul a {
    padding: 10px !important;
}

/* Changing the arrow position to bottom center position, 
   translateX(50%) works with right: 50% 
   to accurately  center the arrow */
#sidebar.active .dropdown-toggle::after {
    top: auto;
    bottom: 10px;
    right: 50%;
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
}

@media (max-width: 1200px) {
    /* 80px and its content aligned to centre. Pushing it off the screen with the
       negative left margin
    */
    #sidebar.active {
        min-width: 80px;
        max-width: 80px;
        text-align: center;
        margin-left: -80px !important;
    }


    /* Reappearing the sidebar on toggle button click */
    #sidebar {
        margin-left: 0;
    }


        /* Toggling the sidebar header content, 
       hide the big heading [h3] and showing the small heading [strong] and vice versa
    */
        #sidebar .sidebar-header strong {
            display: none;
        }

        #sidebar.active .sidebar-header h3 {
            display: none;
        }

        #sidebar.active .sidebar-header strong {
            display: block;
        }

        /* Downsize the navigation links font size */
        #sidebar.active ul li a {
            padding: 20px 10px;
            font-size: 0.85em;
        }

            #sidebar.active ul li a i {
                margin-right: 0;
                display: block;
                font-size: 1.8em;
                margin-bottom: 5px;
            }

        /* Adjust the dropdown links padding*/
        #sidebar.active ul ul a {
            padding: 10px !important;
        }

    /* Changing the arrow position to bottom center position, 
      translateX(50%) works with right: 50% 
      to accurately  center the arrow */
    .dropdown-toggle::after {
        top: auto;
        bottom: 10px;
        right: 50%;
        -webkit-transform: translateX(50%);
        -ms-transform: translateX(50%);
        transform: translateX(50%);
    }
}

/*.body-border {
    padding: 2em 2em 2em 2em;
}

footer {
    padding-top: 
}*/

.avatar-sm {
    width: 55px;
    height: 55px;
    border-radius: 50%;
}

.drawer-header {
    /*padding-left: 1em;*/
    padding-top: 3em;
    margin-left: auto;
    margin-right: auto;
    /*padding-right:2em;*/
    padding-bottom: 3em;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.avatar-dropdown {
    padding-top: 1em;
    padding-right: 0px;
    float: right;
}

.mobileShow {
    display: none;
}

/* Smartphone Portrait and Landscape */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    .mobileShow {
        display: inline;
    }
}

.mobileHide {
    display: inline;
}

/* Smartphone Portrait and Landscape */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    .mobileHide {
        display: none;
    }
}

#alertLoginFailed {
    display: none;
}

.button-round {
    display: block;
    width: 30px;
    height: 30px;
    line-height: 50px;
    border-radius: 50%;
    color: gray;
    text-align: center;
    text-decoration: solid;
    background: #ffffff;
    /*box-shadow: 0 0 3px gray;*/
    font-size: 5px;
    font-weight: bold;
}

    .button-round:hover {
        background: #15dbc8;
    }

.footer-sticky-sidebar {
    height: 100%;
    width: 160px;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    padding-top: 20px;
}

.footer-sticky {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: green;
    /*height: 50px;*/
    height: 70px;
    border: medium;
    /*padding:20px;*/
    display: table;
}

.footer-sticky-mobile {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #2b2b2b;
    height: 50px;
    
    border: medium;
    /*padding:20px;*/
    display: table;
}

.footer-sticky-content-right {
    display: table-cell;
    vertical-align: middle;
    padding-right: 1%;
    text-align: right;
}

.footer-sticky-content-center {
    display: table-cell;
    vertical-align: middle;
    margin-right: 50%;
    margin-left: 50%;
}

.footer-sticky-content-left {
    display: table-cell;
    vertical-align: middle;
    padding-left: 1%;
    text-align: left;
}

.tableHeaderColumns {
    width: 400px;
    font-size: 150%;
    color: green;
}

.btn-footer {
    height: 50px !important;
    width: 55px !important;
    margin-left: -2px !important;
    margin-right: -2px !important;
}
.btn-footer-icon {
    font-size: 2em !important;
}
.btn-circle {
    width: 30px;
    height: 30px;
    padding: 6px 0;
    font-size: 12px;
    line-height: 1.428571429;
    border-radius: 15px;
    margin-top: 50%;
    margin-bottom: 50%;
}

    .btn-circle.btn-lg {
        width: 50px;
        height: 50px;
        padding: 10px 16px;
        font-size: 18px;
        line-height: 1.33;
        border-radius: 25px;
    }

    .btn-circle.btn-xl {
        width: 70px;
        height: 70px;
        padding: 10px 16px;
        font-size: 24px;
        line-height: 1.33;
        border-radius: 35px;
    }
.menu-container {
    background: red;
    display: flex;
    align-items: flex-end;
}

ul {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

    ul li {
        float: left;
    }

.btn-circle.btn-xl {
    width: 70px;
    height: 70px;
    padding: 10px 16px;
    border-radius: 35px;
    font-size: 24px;
    line-height: 1.33;
}

.btn-circle {
    width: 30px;
    height: 30px;
    padding: 6px 0px;
    border-radius: 15px;
    text-align: center;
    font-size: 12px;
    line-height: 1.42857;
}


/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {
    visibility: hidden; /* Hidden by default. Visible on click */
    min-width: 250px; /* Set a default minimum width */
    margin-left: -125px; /* Divide value of min-width by 2 */
    background-color: #333; /* Black background color */
    color: #fff; /* White text color */
    text-align: center; /* Centered text */
    border-radius: 2px; /* Rounded borders */
    padding: 16px; /* Padding */
    position: fixed; /* Sit on top of the screen */
    z-index: 10; /* Add a z-index if needed */
    left: 50%; /* Center the snackbar */
    bottom: 30px; /* 30px from the bottom */
}

    /* Show the snackbar when clicking on a button (class added with JavaScript) */
    #snackbar.show {
        visibility: visible; /* Show the snackbar */
        /* Add animation: Take 0.5 seconds to fade in and out the snackbar. 
  However, delay the fade out process for 2.5 seconds */
        -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
        animation: fadein 0.5s, fadeout 0.5s 2.5s;
    }

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}


#overlay {
    position: fixed; /* Sit on top of the page content */
    display: none; /* Hidden by default */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5); /* Black background with opacity */
    z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer; /* Add a pointer on hover */
}

#text {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 50px;
    color: white;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
}

.sidebar-visible {
    z-index: 123 !important;
    /*visibility: visible !important;*/
    /*display: block !important;*/
    opacity: 1 !important;
    left: 0px !important;
    transition: opacity 0.5s linear, left 0.2s ease-in-out !important;
}

.sidebar-hidden {
    z-index: -1 !important;
    /*visibility: hidden !important;*/
    /*display: none !important;*/
    opacity: 0 !important;
    left: -250px !important;
    transition: opacity 0.5s linear, left 0.2s ease-in-out !important;
}

.main-content-with-sidebar {
    margin-left: 250px !important;
    transition: margin-left 0.2s ease-in-out !important;
}

.main-content-without-sidebar {
    margin-left: 0px !important;
    transition: margin-left 0.2s ease-in-out !important;
}