@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');



:root {
  
    --a2g-blue: #2084C7;
    --cream: #F2E3D5;
    /* Light theme */
    /*--bg-primary-color: #416788;*/
    --bg-primary-color: #F0F3F3;
    --bg-secondary-color: #253049;
    --bg-secondary-active-color: #026773;
    --bg-element: #F0F3F3;
    
    
    
    /*--button-background-color: #7389AE;*/
    /*--button-color: white;*/
    /*--button-swipe-color: #B5BAD0;*/
    --button-background-color: 	hsl(186, 97%, 23%);
    --button-color: white;
    --button-hover-color: #3CA6A6;
    --button-disabled-color: hsl(186, 10%, 23%);
    --button-swipe-color: #3CA6A6;
    
    
    --nav-item-color: #d7d7d7;
    --nav-item-highligh-color: #416788;
    --card-background-color: #E0E0E2;
    --card-color: black;



    --border-radius: 4px;
    
    --highlight-box-shadow: 0 18px 28px rgba(0,0,0,.9), 0 10px 10px rgba(0,0,0,0.22);
    --box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --active-box-shadow: 0 15px 24px rgba(0,0,0,0.11), 0 15px 24px black;
    --nav-sidebar-small-shadow : inset 5px 0 5px -5px rgba(0,0,0,0.22);
    --small-box-shadow: 0 14px 26px rgba(0,0,0,0.04);
    --button-hover-shadow: inset 0 0 10px #212030;
    --box-shadow1: none;
    --box-shadow2: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    --box-shadow3: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
    --box-shadow4: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    --box-shadow5: 0 19px 38px rgba(0, 0, 0, 0.3), 0 15px 12px rgba(0, 0, 0, 0.22);
    --box-shadow6: 0 24px 48px rgba(0, 0, 0, 0.35), 0 18px 12px rgba(0, 0, 0, 0.22);
    --input-box-shadow: var(--box-shadow2);
    
}

html, body {
    
}

/*a, .btn-link {*/
/*    color: #0366d6;*/
/*}*/

/*.btn-primary {*/
/*    color: #fff;*/
/*    background-color: #1b6ec2;*/
/*    border-color: #1861ac;*/
/*}*/

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
}

.main .top-row {
    /*background-color: #f7f7f7;*/
    /*border-bottom: 1px solid #d6d5d5;*/
    justify-content: flex-end;
}

.main .top-row > a, .main .top-row .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
}

.main .top-row a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar {
    background-color: var(--bg-secondary-color);

}

.sidebar:hover {

}

.sidebar .top-row {
    background-color: var(--bg-secondary-color);
}

.sidebar .navbar-brand {
    font-size: 1.1rem;
}

.sidebar .oi {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.sidebar .nav-item {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

.sidebar .nav-item:first-of-type {
    padding-top: 1rem;
}

.sidebar .nav-item:last-of-type {
    padding-bottom: 1rem;
}

.link-text {
    display: inline;
    margin-left: 1rem;
}

.link-text-non-department {
    display: inline;
    color: white;
    margin-left: 1rem;
}

.sidebar .nav-item a {
    color: var(--nav-item-color);
    border-radius: 4px;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
}

.sidebar .nav-item a.active {
    border-radius: 0px;
    background-color: var(--bg-secondary-active-color);
    color: white;
}

.sidebar .nav-item a:hover {
    background-color: var(--nav-item-highligh-color);
    color: white;
}

.content {
    padding-top: 1.1rem;
}

.navbar-toggler {
    background-color: var(--bg-secondary-color);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.modal-content{
    box-shadow: var(--box-shadow6);
    opacity: 1; !important;
}

.button-container{
    margin-right: 1rem;
    margin-left: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.button-container-left{
    margin: 1rem;
    gap: 1rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}



#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
}



@media (min-width: 768px) {
    app {
        flex-direction: row;
    }
    
    .sidebar {
        width: 100px;
        height: 100vh;
        position: sticky;
        top: 0;
        transition: 600ms ease;
        box-shadow: var(--nav-sidebar-small-shadow) ;
    }
    .companyLogo{
        align-content: center; 
        
    }
    
    .link-text{
        font-size: 0;
        transition: 600ms ease;
        display: inline;
    }

    /*.navbar-brand a {*/
    /*    font-size: 0;*/
    /*    transition: 600ms ease;*/
    /*    display: inline;*/
    /*}*/
    
    .header-text{
        font-size: 0;
        color: white;
        transition: 600ms ease;
        display: inline;
    }
    .sidebar:hover {
        width: 300px;
        box-shadow: var(--highlight-box-shadow);
    }

    .sidebar .top-row {
        box-shadow: var(--nav-sidebar-small-shadow);
    }

    .sidebar:hover .top-row {
        
        box-shadow: 0 0 0 transparent;
    }
    .sidebar:hover .link-text{
        font-size: 16px;
        display: inline;
    }
    /*.sidebar:hover .navbar-brand a{*/
    /*    font-weight: bold;*/
    /*    font-size: 18px;*/
    /*    display: inline;*/
    /*}*/
    .sidebar:hover .header-text{
        font-weight: bold;
        font-size: 18px;
        display: inline;
    }
    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}
