html,
body,
#root {
    width: 100% !important;
    height: 100% !important;
    margin: 0px !important;
    padding: 0px !important;
}

body {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 14px;
    margin: 0;
}

button {
    cursor: pointer;
}

body {
    color: var(--duo-dark-green);
    background-color: var(--duo-light-green);
}

/** Header */
#header {
    width: 100%;
    height: 50px;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    color: var(--duo-light-green);
    background-color: var(--duo-dark-green);
}

#header a {
    color: var(--duo-light-green);
    text-decoration: none;
}

#header #header-user {
    margin-right: 10px;
    cursor: pointer;
}

/** Product browsing */
#ps3d-products {
    width: 100%;
    height: fit-content;

    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

#ps3d-products .ps3d-product {
    width: 20%;

    display: flex;
    flex-direction: column;
    align-items: center;
}

#onshape-file-browser {
    width: 100%;
    height: 100%;

    color: var(--duo-orange);
}

#onshape-file-browser h1 {
    margin: 0;
}

#onshape-file-browser #onshape-document-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

#onshape-file-browser .onshape-document {
    padding: 5px;
    margin: 0 5px;

    display: flex;
    flex-direction: column;
    align-items: center;

    border: 1px solid var(--duo-light-green);
    border-radius: 10px;
    cursor: pointer;
}

#onshape-file-browser .onshape-document:hover {
    border: 1px solid var(--duo-orange);
}

#onshape-file-browser #onshape-element-title,
#onshape-file-browser .onshape-element {
    color: var(--duo-darker-green);
}

#onshape-file-browser .onshape-element {
    cursor: pointer;
}

#onshape-file-browser #onshape-configuration-title,
#onshape-file-browser .onshape-configuration {
    color: blue;
}

#onshape-file-browser .onshape-configuration {
    cursor: pointer;
}

/** Gltf configurator */
#tooltip {
    position: absolute;
    font-size: 20px;

    z-index: 1;
    pointer-events: "none";

    color: white;
    text-shadow: 1px 1px 2px pink;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#scene-info {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 180px;
    height: 220px;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: 1;

    display: none;
    flex-direction: column;
    padding: 10px;
}

#scene-info h2 {
    margin: 5px 0;
    color: #08f;
    padding-left: 10px;
}

#scene-info p {
    margin: 5px 10px;
    color: #222;
}

#scene-info * {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    text-transform: capitalize;
    padding: 1px 0;
}

.onshape-element-badge .MuiBadge-badge {
    margin-top: 5px;
    margin-right: 47px;
    padding: 13px 10px;

    background-color: var(--duo-orange);
}


/* Custom */
#custom-creation-container {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
}

#custom-creation-container>* {
    margin: 15px 0;
}

.upload_button {
    position: relative;
    border: 1px dashed #000;
    margin: 20px 0px;
    height: 100px;
    width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-direction: column;
    background: #f9f9f9;
}

.upload_button input {
    position: absolute;
    top: 0px;
    left: 0px;
    font-size: 100px;
    opacity: 0;
    cursor: pointer;
}

.page-title {
    width: 100%;
    padding: 10px 0;
    text-align: center;
    margin: 10px 0;
    color: var(--duo-orange);
}