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

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

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.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%;
}

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

/* Becavision CSS Toggle styles
-------------------------------------------------- */
#controls {
    position: absolute;
    bottom: 0;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.50);
}

.ctrl {
    padding: 8px 5px;
    width: 30px;
    text-align: center;
    background: rgba(200, 200, 200, 0.8);
    display: inline-block;
    cursor: pointer;
}

.ctrl:hover {
    background: rgba(200, 200, 200, 1);
}

.hidden {
    display: none;
}

.w-full {
    width: 100%;
}

.w-half {
    width: 50%;
}

.h-full {
    height: 100%;
}

.h-half {
    height: 50%;
}

.zindex-top {
    z-index: 101;
}

.overflow-scroll {
    overflow-y: scroll;
    overflow-x: hidden;
}

.visible {
    visibility: visible;
}

.backgroundcolor-darkturquoise {
    background-color: darkturquoise;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

    /* Hide default HTML checkbox */
    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

.editHotspotToggle {
    text-align: right;
}

.pnlm-scene-target {
    content: '';
    box-shadow: 0 0 8px rgba(0, 0, 0, 1);
    border-color: #fff;
    border-width: 8px;
    border-radius: 50px;
    border-style: solid;
    display: block;
    width: 50px;
    height: 50px;
    position: absolute;
    left: -33px;
    top: -15px;
}

.pnlm-scene-target-fix {
    left: -18px;
    top: 1px;
}

.pnlm-info {
    background-image: none;
    height: 25px;
    width: 25px;
}

.pnlm-info:after {
    content: ' ';
    border: rgb(18, 168, 178);
    border-width: 5px;
    border-radius: 100%;
    border-style: solid;
    height: 25px;
    width: 25px;
    display: block;
}

.pnlm-info.active:after {
    border-color: orange;
}

.pnlm-info:hover {
    z-index: 10;
    cursor: pointer;
}


div.pnlm-hotspot-base span.becavision-label {
    margin-left: 12px;
    margin-top: 40px;
    background-color: rgba(255,255,255,.7);
    color: black;
    width: max-content;
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    display: block;
}

div.pnlm-hotspot-base:hover span.becavision-label:after {
    display: none;
}

div.pnlm-hotspot-base span.becavision-alwaysshow {
    visibility: visible;
}

.viewerMainStyling {
    position: fixed;
    top: 0;
    left: 15px;
    right: 15px;
    bottom: 0px;
}

.toast-container {
    position: fixed;
    z-index: 100;
}
    .toast-container > .toast-top {
        position: fixed;
        top: 30px;
        left: 50%;
        transform: translate(-50%, 0px);
    }

    .toast-container > .toast-bottom {
        position: fixed;
        bottom: 30px;
        left: 50%;
        transform: translate(-50%, 0px);
    }

.icon-clickable {
    cursor: pointer;
}

input::-webkit-input-placeholder {
    font-style: italic;
}

/* Safari / Chrome Specific Editor Scrollbar Styling
-------------------------------------------------- */
.overflow-scroll::-webkit-scrollbar {
    width: 12px;
    border-radius: 15px;
}

.overflow-scroll::-webkit-scrollbar-track {
    box-shadow: inset 0 0 1px silver;
}

.overflow-scroll::-webkit-scrollbar-thumb {
    background-color: var(--info);
    border-radius: 10px;
}

.information-panel-table {
    min-height: 250px;
    min-width: 250px;
}

/* When the details panel within the information panel is closed, apply the following to shrink the height of the table*/
.information-panel-table:has(details:not([open])){
    min-height: 30px;
}

.information-properties-scene {
    min-height: 300px;
    min-width: 250px;
}

.information-div {
}

@media (max-width: 767px) {
    #editorContainer #viewer {
        min-height: 300px;
        height: 50vh;
    }

    #editorContainer #controls {
        position: relative !important;
        bottom: auto !important;
        margin-top: 10px;
    }
}