#modalP {
    display: none;
}

#modalM {
    display: none;
}

#modalCV {
    display: block;
}

.reset-form * {
    all: revert;
}

.publish-button {
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

#routeCanvas {
    position: absolute;
    top:0;
    left:0;
    display: block;
    margin: 0 auto;
    z-index: 0;
}

#maskCanvas {
    position: absolute;
    top:0;
    left:0;
    display: none;
    margin: 0 auto;
    z-index: 1;
    opacity: 0.66;
}

#editLiveCanvas {
    position: absolute;
    top:0;
    left:0;
    display: none;
    margin: 0 auto;
    z-index: 2;
    pointer-events: none;
}

.divMain{
    position: absolute;
    margin: 5px;
    z-index: 3;
}

#divC{
    left: 0;
    top: 0;
}

#divR {
    right: 0;
    top: 0;
}

#divP {
    right: 0;
    bottom: 0;
}

#divM {
    left: 0px;
    bottom: 0;
}

#divI {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: none; /*block*/
}

#tableC {
    overflow-x: hidden;
    overflow-y: scroll;
    direction: rtl;
}

#controlPairsTable {
    direction: ltr; /* Restores normal text direction */
}

.tableHeadMain {
    border: 2px solid black;
    padding: 8px;
    text-align: center;
    background-color: white;
    cursor: pointer;
    border-radius: 5px;
    padding: 3px;
    background-color: #f2f2f2;
}

.tableRowMain, .tableCellMain {
    border: 2px solid black;
    text-align: center;
    cursor: pointer;
    border-radius: 5px;
    padding: 3px;
}

i {
    padding: 0 10px;
}

body.desktop i {
    font-size: 1.5rem;
}

.tableCellMain:hover, .tableHeadMain:hover {
    background: #d3d3d3;
}

button:hover {
    cursor: pointer;
}

#projectTableDiv {
    position: relative;
    overflow: none;
    padding: 0;
}

#fileTable {
    display: block;
    table-layout:fixed;
    width: 100%;
    position: relative;
    border-collapse: collapse;
    max-height: 75vh;
    overflow: auto;
}

body.desktop #fileTable {
    font-size: 1.5rem;
}

.elevationinput {
    width: 30px;
    text-align: center;;
}

.tableHeadProjects {
    text-align: left;
    border: none;
    border-bottom: 1px solid #000;
    position: sticky;
    top: 0;
    background-color: #f2f2f2;
}

.tableCellProjects {
    border-bottom: 1px solid #ddd;
}

#inputDiv {
    margin-bottom: 10px;
}

body.desktop #filename, #fileInput, #buttonScale {
    font-size: 1.5rem;
}

#scalingInfo {
    display: none;
    flex-direction: column;
    align-items: flex-start;
}

#scaleInputDiv {
    display: none;
}

#buttonScale {
    left: 0px;
}