#model_3d canvas{
    border: 1px solid #ccc;
}
canvas {
    position: relative;
    width: 95%;
    height: 95%;
    top: 2%;
    left: 50%;
    transform: translate(-50%, 2%);
}
/* .rotate0 {} */
.rotate90 {
    -webkit-transform: rotate(90deg); /* Chrome, Safari, Opera */
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg); /* Standard syntax */
}
.rotate180 {
    -webkit-transform: rotate(180deg); /* Chrome, Safari, Opera */
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg); /* Standard syntax */
}
.rotate270 {
    -webkit-transform: rotate(270deg); /* Chrome, Safari, Opera */
    -moz-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    transform: rotate(270deg); /* Standard syntax */
}
svg {
    width: 20px;
    height: 20px;
    filter: invert(78%) sepia(11%) saturate(7%) hue-rotate(44deg) brightness(97%) contrast(91%);
}
svg:not(:root) {
    overflow: initial;
}
svg:hover {
    filter: invert(0%) sepia(0%) saturate(7447%) hue-rotate(147deg) brightness(115%) contrast(95%);
}
.svg_filter_unset {
    filter: unset;
}
.camera_refresh {
    position: relative;
    height: 30px;
    left: 20px;
}
.zoom {
    left: 20px;
    position: relative;
}
.zoom_div {
    height: 60px;
}
.zoomin_div {
    top: 0px;
}
.zoomout_div {
    top: 10px;
}
.position {
    position: relative;
    width: 60px;
    height: 60px;
}
.position_child {
    position: absolute;
}
.position_child.top {
    top: 0px;
    left: 20px;
}
.position_child.left {
    top: 20px;
    left: 0px;
}
.position_child.right {
    top: 20px;
    left: 40px;
}
.position_child.bottom {
    top: 40px;
    left: 20px;
}
.interface_controls_component {
    position: relative;
    width: 60px;
}
#model_3d_controls {
    position: absolute;
    width: min-content;
    bottom: 5%;
    right: 5%;
}
#menubar_container {
    z-index: 1;
    position: absolute;
    right: 0;
    top: 0;
    display: inline-block;
    cursor: pointer;
    background-color: #f5f5f5;
    padding: .5em;
    border-radius: .5em;
}
#sidebarCorps.bar1, .bar2, .bar3 {
    width: 35px;
    height: 5px;
    background-color: #333;
    margin: 6px 0;
    transition: .4s;
}
#menubar_container:hover {
    filter: brightness(2);
}
.leftWide .bar1 {
    transform: translate(0, 6px) rotate(-45deg);
}
.leftWide .bar2 {
    opacity: 0;
}
.leftWide .bar3 {
    transform: translate(0, -10px) rotate(45deg);
}
.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    background-color: #f9f9f9;
    overflow-x: hidden;
    padding-top: 60px;
    text-decoration: none;
    color: #333333;
    display: block;
    transition: .5s;
}
.sidebar dt {
    font-size: 1.5em;
    padding: 8px 8px 8px 32px;
}
.sidebar dd {
    font-size: 1.3em;
    padding: 8px 8px 8px 48px;
}
.sidebar a {
    color: #818181;
}
.sidebar a.active {
    color: #ff0000;
}
.sidebar svg {
    margin: 0px 0px 2px 5px;
}
.sidebar a:hover {
    color: #f1f1f1;
}
.sidebar .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}
.sidebar input {
}
.sidebar_title {
    background: #d3d3d3;
    padding: 1em;
    color: #4d4d4d;
    font-weight: bolder;
    border-top: 1px solid #c9c9c9;
    cursor: pointer;
}
.sidebar_title:hover {
    background: #e6e6e6;
    color: #444444;
}
.sidebar_content {
    background: #f3f3f3;
    padding: 0px;
    max-height: 0;
    transition: max-height .3s, padding .3s;
    overflow: hidden;
}
.sidebar_content.active {
    max-height: fit-content;
    display: block;
    padding: 1em;
    padding-bottom: 2em;
}
.sidebar_cabinet_icon {
    width: 3em;
    height: 3em;
}
#sidebarCorps li {
    padding: .5em
}
#sidebarCorps li:hover {
    background: #777777;
    color: #ffffff;
}
#sidebarCorps li:active {
    background: #a8a8a8;
    color: #ffffff;
}
#sidebarCorps li.selected {
    background: #a8a8a8;
    color: #ffffff;
}
#sidebarCorps li.selected:active {
    background: #777777;
    color: #ffffff;
}
.sidebar_cabinet_container {
    display: inline-flex;
    align-items: center;
    gap: 1em;
}
.openbtn {
    font-size: 20px;
    cursor: pointer;
    background-color: #111;
    color: white;
    padding: 10px 15px;
    border: none;
}
.openbtn:hover {
    background-color: #444;
}
#main {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9999;
    width: min-content;
    transition: position .5s, left .5s, right .5s;
    padding: .5em;
}
#main.leftWide {
    position: fixed;
    left: 25em;
    transition: position .5s, left .5s, right .5s;
}
body {
    transition: .5s;
}
@media screen and (max-height: 450px) {
    .sidebar {
        padding-top: 15px;
    }
    .sidebar a {
        font-size: 18px;
    }
}
.barcontainer {
    display: inline-block;
    cursor: pointer;
}
.bar1, .bar2, .bar3 {
    width: 35px;
    height: 2px;
    background-color: #333;
    margin: 6px 0;
    transition: .4s;
}
.change .bar1 {
    transform: translate(0, 8px) rotate(-45deg);
}
.change .bar2 {
    opacity: 0;
}
.change .bar3 {
    transform: translate(0, -8px) rotate(45deg);
}
#sidebarCorps {
    display: none;
}
#sidebarCorps.display {
    display: unset;
}
#sidebarCorps.leftWide {
    width: 25em;
}
.hiden {
    display: none;
}
.fullScreen {
    position: absolute;
    top: 5%;
    left: 5%;
}
.show_scene {
    position:relative;
    width: 95%;
    height: fit-content;
    left: 50%;
    transform: translate(-50%, 5%);
    border: .1em solid grey;
    display: none;
    border-radius: 1em;
    box-shadow: .1em .1em .1em .1em #0f70b7;
    margin-bottom: 2em;
    padding-bottom: 2em;
}
.show_scene.active {
    display: inherit;
}
.room_layouts {
    position: relative;
    height: 90%;
    width: 90%;
    top: 5%;
    left: 5%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
.room_dimensions {
    display: flex;
    justify-content: center;
    align-items: center;
}
.room_dimensions input {
    position: relative;
    display: block;
    height: 90%;
    width: 90%;
    top: 5%;
    left: 5%;
    margin: 1em;
}
.doorwindow select, .doorwindow input {
    height: unset;
    top:unset;
    left: unset;
    width: 7em;
    position: relative;
    display: block;
    
}
.doorwindow input[type="checkbox"] {
    width: unset;
}
.doorwindow .column {
    display: flex;
    align-items: center;
    flex-direction: row;
}
.doorwindow div {
    padding: 1em;
}
.label_room_layout {
    width: 15em;
    height: 17em;
    position: relative;
    display: inline-block;
}
.label_room_layout label {
    float: left;
    padding: 0 1em;
    text-align: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 12em;
    width: 12em;
    background-color: rgb(250, 250, 250);
    box-shadow: .1em .1em  #0f70b7;
    border-radius: .5em;
}
.label_room_layout label:hover {
    box-shadow: .1em .1em .3em #0f70b7;
}
.label_room_layout label:disabled {
    background-color: #ff0000;
}
.label_room_layout input[type="radio"] {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    top: 15em
}
.label_room_layout input[type="radio"]:checked label {
    background-color: #ff0000;
}
.label_room_layout label img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.show_scene.dimensions.L label {
    all: unset;
    float: left;
}
.show_scene.dimensions.niche label {
    all: unset;
    float: left;
}
.show_scene.dimensions.rectangle label {
    all: unset;
    float: left;
}
.show_scene.dimensions.walls label {
    all: unset;
    float: left;
}
.column {
    padding: 2em;
}
div.adding {
    all: unset;
    width: 1em;
    height: 1em;
    border: .1em solid #b19600;
    border-radius: 2.5em;
    color: #b19600;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    position: relative;
    left: 4.8em;
}
div.adding:before {
    content: "+";
}
div.adding:hover {
    border-color: #332b00;
    color: #332b00;
}
.doorwindow .room_dimensions{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
@media screen and (max-width: 720px){
    .doorwindow .column {
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    div.adding {
        position: relative;
        left: 4.6em
    }
}
@media screen and (max-width: 991px) {
    div.adding {
        position: relative;
        left: 1.2em
    }
}
@media screen and (min-width: 1199px) {
    div.adding {
        position: relative;
        left: 8.3em
    }
}
.test {
    height: 1em;
    transition: height 3s;
}
.test.active {
    height: 8em;
}
.show_scene h1 {
    text-align: center;
    font-family: monospace;
    padding: 1em;
}
.show_scene .form_footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2em;
}
.sidebar_content[data-content="cabinets_layouts"] li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 3em;
}
.sidebar_content[data-content="cabinets_layouts"] li div {
    cursor: pointer;
}
.sidebar_content[data-content="cabinets_layouts"] li div.removeListItem {
    padding-left: .5em;
    padding-right: .5em;
    font-family: monospace;
    font-size: x-large;
}
.sidebar_content[data-content="cabinets_layouts"] li div.removeListItem:hover {
    color: #ff0000;    
}
.sidebar_content[data-content="camera_positions"] li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 3em;
}
.sidebar_content[data-content="camera_positions"] li div {
    cursor: pointer;
}
.sidebar_content[data-content="camera_positions"] li div.removeListItem {
    padding-left: .5em;
    padding-right: .5em;
    font-family: monospace;
    font-size: x-large;
}
.sidebar_content[data-content="camera_positions"] li div.removeListItem:hover {
    color: #ff0000;    
}
.sidebar_content[data-content="add_object3d"] li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 3em;
}
.sidebar_content[data-content="add_object3d"] li div {
    cursor: pointer;
}
.sidebar_content[data-content="add_object3d"] li div.removeListItem {
    padding-left: .5em;
    padding-right: .5em;
    font-family: monospace;
    font-size: x-large;
}
.sidebar_content[data-content="add_object3d"] li div.removeListItem:hover {
    color: #ff0000;    
}
.sidebar_content label {
    color: #ff0000;
    font-weight: bolder;
    position: relative;
}
.show_scene.active button[type=submit] {
    background: #0f70b7;
}
.show_scene.active button[type=submit]:disabled {
    background: #4d4d4d;
    cursor: not-allowed;
}
#sidebarCorps .sidebar_content input[type="file"] {
    all: unset;
    background: #f9f9f9;
    width: 18em;
    border-radius: .3em;
}
#sidebarCorps .sidebar_content input[type="file"]::-webkit-file-upload-button {
    all: unset;
    background: #cfcfcf;
    padding: .5em;
    cursor: pointer;
    margin-right: 1em;
}