/*
 * File: /main.css
 * Project: ifc-web-viewer
 * File Created: Monday, 23rd September 2024 7:40:10 am
 * Author: Fethi Gürcan (fethi@eges.tech)
 * -----
 * Last Modified: Friday, 15th November 2024 4:13:37 pm
 * Modified By: Fethi Gürcan (fethi@eges.tech)
 * -----
 * Copyright 2024 Eges Technology Inc. (https://eges.tech)
 */
body {
    margin: 0;
    padding: 0;
    font-family: "Plus Jakarta Sans", sans-serif;
    overflow: hidden;
  }

  iframe {
    border: none;
  }

  .full-screen {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
  }

  .dragging {
    background-color: rgba(0,0,255,0.1);
  }

  #progress {
    display: none;
    position: fixed;
    bottom: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.6);
    padding: 5px;
    margin: 10px;
    border-radius: 5px;
    font-size: medium;
    vertical-align:middle;
    pointer-events: none;
  }

  #ui {
    position: fixed;
    top: 0;
    right: 0;
    margin: 10px;
    text-align: right;
    pointer-events: none;
  }

  #toolbox, #ui select {
    padding: 5px;
    margin-bottom: 2px;
    pointer-events:initial;
  }

  #models {
    max-width: 200px;
  }

  #progress-bar {
    width: 50px;
    height: 15px;
  }

  #progress-text {
    font-size: inherit;
    vertical-align: inherit;
  }

  #progress-icon {
    font-size: inherit;
    color: #1967d2;
    vertical-align: inherit;
  }

  #progress-icon.info:after{
    color: #1967d2;
    content: "info";
  }

  #progress-icon.progress:after{
    color: inherit;
    content: "sync";
  }

  #progress-icon.error:after{
    color: red;
    content: "error";
  }

  #progress-icon.success:after{
    color: green;
    content: "check_small";
  }

  .options-menu {
    position: fixed;
    min-width: unset;
    top: 5px;
    right: 5px;
    max-height: calc(100vh - 10px);
  }

  .toolbox {
    width: 30px;
    background-color: #666; 
    user-select: none;
  }
  
  .toolbox a {
    text-decoration:none;
    display: block; 
    text-align: center; 
    padding: 3px;
    transition: all 0.3s ease;
    color: white;
    width: 24px;
    height: 24px;
  }
  
  .toolbox a:hover {
    background-color: #000; 
  }

  .toolbox a:active {
    background-color: #444; 
  }

  .toolbox .active {
    background-color: #1967d2 !important;
  }  

  .toolbox .disabled {
    pointer-events: none;
    color: gray;
  }
  
  .dropdown {
    position: relative;
    display: inline-block;
  }

  .dropdown button {
    pointer-events: initial;
    padding: 5px;
    margin-bottom: 2px;
  }
  
  .dropdown-content {
    pointer-events: initial;
    user-select: none;
    font-size: small;
    text-align: start;
    white-space: nowrap;
    display: none;
    position: absolute;
    padding: 5px;
    right: 0;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    max-height: 390px;
    overflow: auto;
  }
  .dropdown-content button{
    margin-right: 5px;
  }
  
  .dropdown-content label {
    display: block;
    margin-top: 10px;
  }

  .marker {
    font-size: 1.4em;
    pointer-events:initial;
  }

  .marker:hover {
    font-size: 1.6em;
  }