*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 16px;
}

html{
   /*👉 width: 100%;
    background-color: aqua;
    margin: 0;
    padding: 0;👈*/
}

body {
    overflow: hidden;
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: center;
}

header {
    height: 30px;
    background-color: rgb(189, 189, 189);
    outline: 1px solid black;
}

header .nav-bar{
    width: 100%;
    height: 50%;
    background-color: black;
}

main {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: black;
}

/*Canvas*/
canvas {
    width: 100%; 
    height: 700px; 
    position: relative;
    background-color: black;
    outline: 1px solid black;
    z-index: 0;
    zoom: 1.0;
    touch-action: none;
}


input {
    position: relative;
    border:none;
    outline: none;
    width: 100px;
    padding: 0 2px;
    margin: 0;
}

input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
    -webkit-Appearance: none;
    margin: 0;
}

/* Combobox */
#select-container-model{
    position: realtive;
   /*👉 top: 0%;
    right: 0%;👈*/
    min-width: 250px;
    height: 40px;
    /* transform: translateX(-50%); */
    display: flex;
    z-index: 10;
}


/*Geo input coords field*/
.geoInputCoordsField{
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 10;
    margin: 0;
    display: flex;
    flex-direction: row;
    /* border: 1px solid rgb(50, 50, 50); */
    /* border-radius: 5px; */
    user-select: none;
}
.geoInputNumberX[readhonly="true"], .geoInputNumberY[readhonly="true"]{
    pointer-events: none;
    background-color: red;
}
.geoInputCoordsText{
    background-color: rgb(50,50,50);
    color: rgb(230,230,230);
    padding: 3px 10px 3px 10px;
    border-radius: 4px 0px 0px 4px;
}
.geoInputNumberX{
    background-color: rgb(230, 230, 230);
    padding-right: 10px;
    padding-left: 10px;
    border-top: 1px solid rgb(50, 50, 50);
    border-bottom: 1px solid rgb(50, 50, 50);
    border-right: 1px solid rgb(50,50,50);
}
.geoInputNumberY{
    background-color: rgb(230, 230, 230);
    padding-left: 10px;
    border-top: 1px solid rgb(50, 50, 50);
    border-bottom: 1px solid rgb(50, 50, 50);
    border-right: 1px solid rgb(50,50,50);
}

/*Geo input radius field*/
.geoInputRadiusField{
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 10;
    /* outline: 2px solid  rgb(50,50,50); */
    margin: 0;
    display: flex;
    flex-direction: row;
}
.geoInputRadiusField[readonly="true"] > .geoInputRadius{
    background-color: red;
    pointer-events: none;
}
.geoRadiusText{
    background-color: rgb(50,50,50);
    color: rgb(230,230,230);
    user-select: none; 
    padding: 3px 10px 3px 10px;
    border-radius: 4px 0px 0px 4px;
}
.geoInputRadius{
    background-color: rgb(230,230,230);
    color: rgb(50, 50, 50);
    padding: auto;
    padding-left: 10px;
}

.inputCancel{
    background-color: rgb(50,50,50);
    color: rgb(230,230,230);
    user-select: none;
    padding: 2px 10px 4px 10px;
    border-radius: 0px 4px 4px 0px;
}

.inputCancel:hover{
    background-color: rgb(230,10,10);
    cursor: pointer;
}

#console{
    width: 300px;
}


#console input{
    width: 100%;
    padding: 2px;
}

#settings-bar{
    position: relative;
    justify-content: center;
    align-items: center;
    user-select: none;
    display: none;
    width: 100%;
    background-color: rgb(50,50,50);
}

.settings-bar-insist-button {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    overflow: hidden;
}

.settings-bar-insist-button:hover{
    background-color: rgb(0,0,0);
}

.settings-bar-insist-button.on path, .settings-bar-insist-button.on circle, .settings-bar-insist-button.on rect{
    fill: #00FF19;
    stroke: #00FF19;
}

.settings-bar-push-button{
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    overflow: hidden;
}

.settings-bar-push-button:hover{
    background-color: rgb(0,0,0);
}

svg{
    margin: 10px;
}

#loading{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    z-index: 100;
}

#select-container-model{
    margin-left: 10px;
}


@media screen and (orientation: landscape){
    #settings-bar{
        flex-direction: row;
        width: 100%;
        height: 60px;
    }

    main {
        flex-direction: column;
    }
}

@media screen and (max-width: 600px)
{
    .settings-bar-insist-button {
        display:  none;
    }
}

/* #status-bar{
    top: 80px;
    position: absolute;
    background-color: black;
    color: white;
    padding: 20px;
} */




/* input[type=number] { */
    /* -moz-: textfield; */
/* } */
  

/*👉.contextMenu {
    background-color: rgba(0,0,0,0.7);
    color: white;
    position: absolute;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    cursor: pointer;
    z-index: 10;
}

.contextMenu.open {
    display: flex;
}

.contextMenu > div {
    padding: 0.5rem;
    font-size: 1.2rem;
    font-weight: 200;
}

.contextMenu > div:hover {
    width: 100%;
    background-color: coral;
    color: black;
}👈*/