/* 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. */

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

.table-row-link {
    cursor: pointer;
}

.table-hover thead tr.table-row-link:hover {
    color: #212529;
    background-color: rgba(0, 0, 0, 0.075);
}

/* 3D Asset preview styles */

.preview-3d-container {
    display: flex;
}

.preview-3d {
    outline: none;
    border: none;
}

.preview-3d:hover {
    cursor: grab;
}

.preview-3d:active {
    cursor: grabbing;
}

.debug-container {
    margin-left: 16px;
}

.debug-container textarea {
    width: 175px;
    height: 140px;
    border: 1px solid #c2c2c2;
    padding: 5px;
    resize: none;
}

/* 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;
}

.small-icon-button {
    width: 33px;
    text-align: center;
}

.checkerboard {
    background: repeating-conic-gradient(#f3f3f3 0% 25%, #ededed 0% 50%) 50% / 20px 20px;
}

.asset-thumbnail {
    max-height: 100%;
    max-width: 100%;
    margin: auto;
}

.asset-thumbnail:hover {
    background: none;
    filter: drop-shadow(0 1.5px rgb(0 0 0));
}

.hover-grey:hover {
    background-color: #fbfbfb;
}

/* 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 */
}