﻿body {
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 50px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

/* ---------------------------------------------------
    COLOR STYLE
----------------------------------------------------- */

:root {
    --bg-primary: #163C6B;
    --bg-primary-gradient: #4c79b0;
    --bg-secondary: #6C757D;
    --bg-main-hover: #BCE6FF;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.sidebar-label {
    color: white;
    font-size: 20px;
    font-style: oblique;
    margin-top: 10px;
    margin-left: 15px;
}

.sidebar-navheader {
    padding: 0px 30px 0px 15px;
}

.sidebar-button {
    height: 35px;
    width: 35px;
    margin: 10px 0px;
    background-color: transparent;
    border-color: white;
    color: white;
    outline: none;
}

    .sidebar-button:hover {
        background-color: var(--bg-primary-gradient);
    }

.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    color: #fff;
    transition: all 0.3s;
    height: 100vh;
    margin-left: -250px;
    background: linear-gradient(to bottom,var(--bg-primary),var(--bg-primary-gradient));
    margin-top: 50px;
    position: fixed;
    z-index: 1;
}

    #sidebar.active {
        margin-left: 0px;
    }

    #sidebar .sidebar-header-border {
        background: transparent;
        border: 2.5px solid white;
        margin: 5px;
        border-radius: 5px;
    }

        #sidebar .sidebar-header-border .sidebar-header {
            background: whitesmoke;
            height: 145px;
            border: 1px solid white;
            margin: 5px;
            border-radius: 5px;
            opacity: 0.975;
        }

            #sidebar .sidebar-header-border .sidebar-header .symbol {
                height: 100px;
                position: relative;
            }

                #sidebar .sidebar-header-border .sidebar-header .symbol .object {
                    height: 100px;
                    width: 100px;
                    border: 1px solid var(--bg-primary);
                    border-radius: 50px;
                    color: var(--bg-primary-gradient);
                    top: 50%;
                    left: 50%;
                    position: absolute;
                    margin-top: -50px;
                    margin-left: -50px;
                    text-align: center;
                    padding-top: 25px;
                    font-size: 40px;
                }

                    #sidebar .sidebar-header-border .sidebar-header .symbol .object .image {
                        height: 95px;
                        width: 95px;
                        border-radius: 47.5px;
                        margin-top: -22.5px;
                    }

                    #sidebar .sidebar-header-border .sidebar-header .symbol .object .text {
                        margin-top: -70px;
                        color: white;
                        font-weight: bold;
                        opacity: 0.5;
                        .
                    }

            #sidebar .sidebar-header-border .sidebar-header .content {
                height: 25px;
                color: black;
            }

    #sidebar ul.components {
        background: transparent;
        height: 125px;
    }

    #sidebar ul p {
        color: white;
        padding: 10px;
    }

    #sidebar ul li {
        border: 1px solid white;
        border-radius: 5px;
        margin: 12.5px 5px;
    }

        #sidebar ul li a {
            padding: 7.5px;
            font-size: 1.1em;
            display: block;
            font-weight: bolder;
            color: white;
        }

            #sidebar ul li a:hover {
                background: white;
                color: var(--bg-primary);
                text-decoration: none;
            }

            #sidebar ul li a[aria-expanded="true"] {
                color: var(--bg-primary);
                background: white;
                text-decoration: none;
            }


a[data-toggle="collapse"] {
    position: relative;
    text-decoration: none;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 10px !important;
    background: inherit;
}

    ul ul a:focus {
        text-decoration: none;
    }

ul.CTAs {
    padding: 20px;
}

    ul.CTAs a {
        text-align: center;
        font-size: 0.9em !important;
        display: block;
        border-radius: 5px;
        margin-bottom: 5px;
    }

a.download {
    background: red;
    color: #7386D5;
}

a.article,
a.article:hover {
    background: #222222 !important;
    color: #fff !important;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
    width: 100%;
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media screen and (max-width: 768px) {

    #sidebar {
        font-size: 12px;
    }

    .sidebar-navheader {
        font-size: 12px;
    }
}

/* ---------------------------------------------------
    NEW ADDITIONS
----------------------------------------------------- */
.header-bar {
    display: flex;
    justify-content: space-between;
}

.logout-div {
    padding-top: 17px;
    margin-right: -15px;
}


.truncate {
    white-space: nowrap;
    overflow: clip;
    text-overflow: ellipsis;
    max-width: 70%; 
    display: inline-block;
    text-align: center;
}