﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

.nav-bar-user {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

    a.navbar-brand svg {
        width: 190px;
        height: 60px;
    }

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Background image container styles
-------------------------------------------------- */

div.OuterBackground-container {
    position: relative;
    margin-top: -1rem;
    /* navbar defines margin of 1rem to give space for the drop shadow. We want this div to ignore that but not for everything following it. */
}

div.Background-container {
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
    color: #f8f8f8;
}

    div.Background-container svg {
        width: 640px;
        height: 279px;
    }

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}



.page-buttons {
    text-align: center;
    padding: 1% 2%;
    background-color: #f5f5f5;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
}

.page-buttons-end {
    text-align: center;
    padding: 1% 2%;
    background-color: #f5f5f5;
    border-radius: 6px;
    display: flex;
    justify-content: flex-end;
}

.avatar {
    vertical-align: middle;
    width: 60px;
    height: 60px;
    border-radius: 20%;
}


.truncate {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-right: 20px;
    width: 350px;
}

.status-label {
    color: #5a6268;
    font-size: 17px;
    margin-left: 1%;
    font-weight: bold;
}

.status-value {
    font-size: 18px;
    font-weight: bold;
    padding: 10px;
}

.status-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-right: 30px;
}

#upload-status.alert {
    padding: 0px;
    border-radius: 0;
}

.status-badge {
    color: white;
    opacity: 0.8;
}

    .status-badge span {
        padding: 8px 0px;
        font-size: 14px;
        width: 60px;
    }

/* Fix the dd/dt using row/col bug*/
.attributes.row {
    margin-left: 0px;
    margin-right: 0px;
}

.attributes dd, .attributes dt {
    line-height: 28px;
    border-top: 1px dotted #ccc;
    margin-top: 1%;
    padding-top: 1%;
}

.row {
    /*padding-left: 6px;*/
}

.header-buttons {
    display: flex;
    justify-content: flex-end;
}

    .header-buttons a {
        margin-right: 2%;
    }

.sidebar {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.details-buttons a {
    margin-right: 2%;
}

.hide {
    display: none;
}

.fill-width {
    max-width: 100%;
}

/* Drawing Page Tree View 
-------------------------------------------------- */

.list-group-item {
    padding: .75rem 0.8rem;
}
.list-group-container {
    padding: 10px 3px;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: 4px;
}

.list-group.list-group-root {
    padding: 0;
    overflow: hidden;
}

.list-group.list-group-root .list-group {
    margin-bottom: 0;
}

.list-group.list-group-root .list-group-item {
    border-radius: 0;
    border-width: 1px 0 0 0;
}

.list-group.list-group-root > .list-group-item:first-child {
    border-top-width: 0;
}

.list-group.list-group-root > .list-group > .list-group-item {
    padding-left: 35px;
}

.list-group.list-group-root > .list-group > .list-group > .list-group-item {
    padding-left: 60px;
}

.list-group.list-group-root > .list-group > .list-group > .list-group > .list-group-item {
    padding-left: 85px;
}

.list-group.list-group-root > .list-group > .list-group > .list-group > .list-group > .list-group-item {
    padding-left: 115px;
}

.imageicon {
    background: url(/images/file-image.svg) no-repeat center left;
    padding: 12px;
}

.foldericon {
    background: url(/images/folder.svg) no-repeat center left;
    padding: 12px;
}

.collapse-indicator {
    background-image: url(/images/chevron-down.svg);
    background-position: 98% 50%;
    background-repeat: no-repeat;
}

    .collapse-indicator.collapsed {
        background-image: url(/images/chevron-right.svg);
    }

#drawing-name {
    font-size: 20px;
    font-weight: bold;
}

#drawing-path {
    font-size: 13px;
}

/* Project Pages Tabbed Navigation 
-------------------------------------------------- */


.nav-tabs {
    border-bottom: 1px solid #43b02a;
}

.nav-tabs .nav-item {
    margin-bottom: -2px;
}

.nav-tabs .nav-item a {
    color: #666
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    color: white;
    border: none;
    border-color: #43b02a;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background-color: #43b02a !important;
    font-weight: bold;
}

.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
    border-color: #43b02a;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom: none;
}

/* Project Pages Sub Menu
-------------------------------------------------- */

.sub-menu-empty,
.sub-menu {
    text-align: center;
    padding: 1% 2%;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
}

.sub-menu {
    background-color: #f5f5f5;
}

.sub-menu-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sub-menu-link,
.sub-menu-icon ,
.sub-menu-link:hover {
    font-weight: 500;
    color: #43b02a;
}

.sub-menu-link ,
.sub-menu-link:hover {
    text-decoration: underline;
    -webkit-transition: color .2s;
    transition: color .2s;
    text-decoration: none;
    margin-right: 40px;
}

.sub-menu-link-disabled {
    color: #666666;
    font-style: italic;
    margin-right: 40px;
    margin-bottom: 0;
}

.admin-section {
    margin-top:16px;
    padding:10px;
    background-color: #f2f3f4 ;
    border-radius: 6px;
}

.loader {
    pointer-events: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #fff;
    animation: button-loading-spinner 1s ease infinite;
}

@keyframes button-loading-spinner {
    0% {
        transform: rotate(0turn);
    }

    100% {
        transform: rotate(1turn);
    }
}