* {
    margin: 0;
    /* padding: 0; */
    box-sizing: border-box;
    cursor: default;
    -webkit-user-select: none;
    user-select: none;
}

:root {
    --bg: #f3f3f3 radial-gradient(#eff4f9 66%, #f3f3f3 100%) no-repeat fixed;
    --bg_clr: #f3f3f3;
    --txt_clr: 0, 0, 0;
    --clr_prm: #28BC00;
}

body {
    font-family: "Segoe UI", sans-serif;
    background: var(--bg);
    color: rgb(var(--txt_clr));
    display: flex;
}
.nav {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 300px;
    overflow: auto;
}

h3 {
    margin-bottom: 5px;
}

.nav_bottom {
    display: flex;
    flex-direction: column;
    background: linear-gradient(90deg, #103A74, #2E5385);
    color: white;
}

.nav_top {
    display: flex;
    flex-direction: column;
    position: -webkit-sticky; /* safari */
    position: sticky;
    top: 0;
    background: var(--bg);
    z-index: 9;
    background: linear-gradient(90deg, #103A74, #2E5385);
    color: white;
    border-bottom: 1px solid white;
}

.nav a img {
    margin: 0 0.5rem;
}

.navLink {
    color: inherit;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    height: 2.25rem;
    padding: 0.5rem;
    margin: 2px 1rem;
    border-radius: 0.33rem;
}

    .navLink:hover {
        color: rgb(var(--txt_clr));
        text-decoration: none;
        background: rgba(var(--txt_clr), 0.033);
    }

    .navLink.active {
        color: rgb(var(--txt_clr));
        text-decoration: none;
        background: rgba(var(--txt_clr), 0.033);
    }

    .navLink:after {
        content: "";
        height: 2rem;
        width: 3px;
        position: absolute;
        left: 0;
        bottom: 10px; /* 8px padding + 2px margin */
        border-radius: 1.5px;
        background: var(--clr_prm);
        transform: translateY(-110%);
    }

    .navLink.active::after {
        transform: translateY(0);
        height: 1rem;
        transition: transform 0.13s, height 0.2s 0.13s;
    }

.account {
    display: flex;
    align-items: center;
    height: auto;
    margin-top: 1rem;
    margin-left: -5px;
}

    .account::after,
    .account.active::after {
        transform: translateY(1000%);
    }

.page {
    width: 90%;
}

.search {
    height: 2rem;
    border: 0;
    border-bottom: 1px solid var(--clr_prm);
    border-radius: 0.33rem;
    padding: 0.5rem;
    margin: 1rem;
    margin-left: 0px;
}

    .search:hover {
        background: rgba(0, 0, 0, 0.033);
    }

    .search:focus {
        border-bottom: 2px solid var(--clr_prm);
    }

    .search::placeholder {
        color: rgba(var(--txt_clr), 0.66);
    }

    .search:focus-visible {
        outline: none;
    }

.tile {
    width: 100%;
    display: flex;
    align-items: center;
    background: rgb(255, 255, 255);
    border-radius: 0.33rem;
    max-width: 1000px;
    min-height: 68px;
    padding: 0.5rem 3rem 0.5rem 0rem;
    margin: 5px 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
}

.tileCont {
    animation: animateUp 0.2s forwards;
}

.tile span {
    font-size: 1.25rem;
    margin: 0 1rem;
    font-family: SettingsIcons;
}

.tile_cont {
    font-size: 0.9rem;
}

.tile_desc {
    color: rgba(var(--txt_clr), 0.66);
    font-size: 0.8rem;
}

div.main {
    width: 75%;
    max-width: 1000px;
    margin: 0 1.5rem 3rem 20rem;
}

h1 {
    padding: 1rem 0;
    font-weight: 500;
    font-size: 1.8rem;
    width: 100%;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1;
}

button.add-component {
    position: absolute;
    right: 5em;
    top: 1.5em;
    border-color: #f3f3f3;
    padding: 3px;
    font-size: 14px;
    border-radius: 5px;
    background-color: #0067C0;
    width: 10em;
    height: 2em;
    text-align: center;
    vertical-align: middle;
    display: inline-block;
    color: white;
    font-family: "Segoe UI", sans-serif;
    border: 1px solid transparent;
}

.modal-open {
    overflow: hidden
}

    .modal-open .modal {
        overflow-x: hidden;
        overflow-y: auto
    }

.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: .5rem;
    pointer-events: none
}

.modal.fade .modal-dialog {
    transition: -webkit-transform .3s ease-out;
    transition: transform .3s ease-out;
    transition: transform .3s ease-out,-webkit-transform .3s ease-out;
    -webkit-transform: translate(0,-50px);
    transform: translate(0,-50px)
}

@media (prefers-reduced-motion:reduce) {
    .modal.fade .modal-dialog {
        transition: none
    }
}

.modal.show .modal-dialog {
    -webkit-transform: none;
    transform: none
}

.modal-dialog-scrollable {
    display: -ms-flexbox;
    display: flex;
    max-height: calc(100% - 1rem)
}

    .modal-dialog-scrollable .modal-content {
        max-height: calc(100vh - 1rem);
        overflow: hidden
    }

    .modal-dialog-scrollable .modal-dialog-scrollable .modal-header {
        -ms-flex-negative: 0;
        flex-shrink: 0;
        color: white;
        background-color: black;
        height: 2em;
        padding-top:4em;
    }
        .modal-footer{

        }

        .modal-dialog-scrollable .modal-body {
            overflow-y: auto
        }

.modal-dialog-centered {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(100% - 1rem)
}

    .modal-dialog-centered::before {
        display: block;
        height: calc(100vh - 1rem);
        content: ""
    }

    .modal-dialog-centered.modal-dialog-scrollable {
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-pack: center;
        justify-content: center;
        height: 100%
    }

        .modal-dialog-centered.modal-dialog-scrollable .modal-content {
            max-height: none
        }

        .modal-dialog-centered.modal-dialog-scrollable::before {
            content: none
        }

.modal-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: .3rem;
    outline: 0
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000
}

    .modal-backdrop.fade {
        opacity: 0
    }

    .modal-backdrop.show {
        opacity: .5
    }

.modal-header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: justify;
    justify-content: space-between;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: .3rem;
    border-top-right-radius: .3rem;
    padding:0.4em;
    background-color:black;
}

    .modal-header .close {
        /*padding: 1rem 1rem;
        margin: -1rem -1rem -1rem auto*/
    }

.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
    font-weight:normal;
    color:white;
}

.modal-body {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem
}

.modal-footer {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 1rem;
    border-top: 1px solid #dee2e6;
    border-bottom-right-radius: .3rem;
    border-bottom-left-radius: .3rem
}

    .modal-footer > :not(:first-child) {
        margin-left: .25rem
    }

    .modal-footer > :not(:last-child) {
        margin-right: .25rem
    }

.modal-scrollbar-measure {
    position: absolute;
    top: -9999px;
    width: 50px;
    height: 50px;
    overflow: scroll
}

.model-close-button {
    color: white;
    background-color: black;
    border: 1px solid black;
    font-size: 0.9em;
    padding:0em;
    margin:0em;
}

@media (min-width:576px) {
    .modal-dialog {
        max-width: 75%;
        max-height:75%;
        margin: 1.75rem auto
    }

    .modal-dialog-scrollable {
        max-height: calc(100% - 3.5rem)
    }

        .modal-dialog-scrollable .modal-content {
            max-height: calc(100vh - 3.5rem)
        }

    .modal-dialog-centered {
        min-height: calc(100% - 3.5rem)
    }

        .modal-dialog-centered::before {
            height: calc(100vh - 3.5rem)
        }

    .modal-sm {
        max-width: 300px
    }
}

@media (min-width:992px) {
    .modal-lg, .modal-xl {
        max-width: 800px
    }
}

@media (min-width:1200px) {
    .modal-xl {
        max-width: 1140px
    }
}

.toast-harness {
    position: absolute;
    top: 2px;
    right: 25px;
    z-index: 5;
    user-select: none;
    pointer-events: none;
}


.toast-message {
    background-color: rgb(236,224,0);
    color: black;
    transform: translate(0, 0);
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    opacity: 1;
    border-radius: 5px;
    user-select: none;
    pointer-events: none;
    animation-name: toast-message;
    animation-duration: .5s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in;
}

@keyframes toast-message {
    from {
        transform: translate(0, 0);
        opacity: 1;
    }

    to {
        transform: translate(calc(100% + 50px), 0);
        opacity: 0;
    }
}

