* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    list-style: none;

    --primary-color: #FF6803
}

html, body {
    overflow: visible;
    background-color: #F0F0F0;
    color: #474747;
}

input {
    visibility: hidden;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2em;
    padding-left: 10%;
    padding-right: 10%;
}

footer {
    height: 5%;
    display: flex;
    justify-content: center;
    align-items: center;
}


nav ul li {
    list-style-type: none;
    display: inline-block;
    padding: 1em 1.5em;
}

nav ul li a {
    color: white;
    font-weight: bold;
}

nav ul .current {
    border-bottom: 4px solid;
    border-color: var(--primary-color);
}

nav ul li a:hover {
    color: var(--primary-color)
}

header button {
    border: none;
    background-color: var(--primary-color);
    padding: 1em 2em;
    border-radius: 30px;
    color: white;
    font-weight: bold;
    font-size: 15px;
    transition: 0.4s;
}

header button:hover {
    transform: scale(1.1);
    cursor: pointer;
}

.logo-txt {
    display: flex;
    align-items: center;
    color: white;
    font-size: 2em;
}

.logo-img {
    width: 2em;
}

.logo-txt span {
    color: var(--primary-color);
}







.app-container {
    position: relative;
    height: 80vh;
    width: 95vw;
    margin: auto;
    display: flex;
    flex-direction: row;
}

.sidebar {
    height: 100%;
    min-width: 30rem;
    z-index: 1;
    background-color: white;
    border: solid 1px #888888;
    border-radius: 10px;
}

.buttons {
    height: 2.5rem;
    display: flex;
    flex-direction: row;
}

.button {
    margin: 0.5rem;
    border: solid 1px #888888;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    border-radius: 0.5rem;
    user-select: none;
    cursor: pointer;

    color: var(--primary-color);
    font-weight: bold;
}

.ifc-property-menu {
    margin: 0 10px;
    font-weight: bold;
    color: var(--primary-color);

    border-top: solid 1px #888888;
    width: 96%;
    height: 45%;
}

.ifc-property-item {
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: 0.5rem;
    border-bottom: solid 1px #888888;
}

.ifc-property-value {
    width: 100%;
    text-align: right;
}

.ifc-tree-menu {
    margin: 0 10px;
    background-color: #F0F0F0;

    border-top: solid 1px #888888;
    width: 96%;
    height: 50%;
    overflow-y: auto;
}

.ifcjs-dimension-preview {
    width: 2rem;
    height: 2rem;
    background-color: rebeccapurple;
    border-radius: 1rem;
    opacity: 0.3;
}

#viewer-container {
    height: 100%;
    width: 100%;
    border: 10px solid rgb(255, 255, 255);
    margin-left: 10px;
    border-radius: 10px;
}

/*Property menu*/

#ifc-property-menu-root {
    background-color: #F0F0F0;
    overflow: auto;
    height: calc(100% - 3rem);
}

/*Tree view: https://www.w3schools.com/howto/howto_js_treeview.asp*/

li ul {
    user-select: none;
    cursor: pointer;
}

/* Remove default bullets */
ul, #myUL {
    list-style-type: none;
}

/* Remove margins and padding from the parent ul */
#myUL {
    margin: 0.5rem;
    padding: 0;
}

/* Style the caret/arrow */
.caret {
    cursor: pointer;
    user-select: none; /* Prevent text selection */
}

/* Create the caret/arrow with a unicode, and style it */
.caret::before {
    content: "\25B6";
    color: black;
    display: inline-block;
    margin-right: 6px;
}

/* Rotate the caret/arrow icon when clicked on (using JavaScript) */
.caret-down::before {
    transform: rotate(90deg);
}

/* Hide the nested list */
.nested {
    display: none;
}

/* Show the nested list when the user clicks on the caret/arrow (with JavaScript) */
.active {
    display: block;
    margin-left: 10px;
}




#body-viewer {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-image: linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,2)), url(resources/background-index.jpg);
    background-size:cover;
    background-position: center;
}