body {
    margin: 0;
}
textarea {
    box-sizing: border-box;
    resize: none;
    border: 0;
    margin: 0;
    outline: 0;
}
input {
    box-sizing: content-box;
    border: 0;
    margin: 0;
}
button {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
#overlay {
    position: absolute;
    display: none;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}
#section_key {
    display: block;
    margin-left: 50%;
    margin-top: 45vh;
    width: 40vw;
    transform: translate(-50%, -50%);
}
#key_input {
    float: left;
    width: 35.4vw;
    height: 4vh;
    line-height: 4vh;
    font-size: 2.8vh;
}
#bt_setKey {
    width: 4vw;
    margin-left: 0.6vw;
    float: left;
    background-color: white;
}
.container {
    display: flex;
    height: 100vh;
    width: 100%;
}
#left_part {
    width: 40vw;
    transition: width 0.4s ease;
    background-color: rgb(246, 252, 252);
    border-right: 1px solid black;
}
#left_part.collapsed {
    width: 0;
    border-width: 0;
}
.upper {
    width: 100%;
    height: calc(11vh - 1px);
    align-items: center;
    border-bottom: 1px solid black;
}
#title {
    width: 100%;
    height: 37%;
    font-size: 4vh;
    white-space: nowrap;
    overflow: hidden;
    border-bottom: 1px solid rgb(182, 182, 182);
}
.coordinates {
    width: 50%;
    height: 50%;
    font-size: 3.1vh;
    white-space: nowrap;
}
.upper_left_section {
    flex: 0 0 60%;
    display: flex;
    flex-wrap: wrap;
}
#upper_description {
    flex: 0 0 40%;
    font-size: 3.4vh;
    white-space: nowrap;
}
#upper_description:empty {
    background-color: aqua;
    display: none;
}
#upper_description:empty + .upper_left_section {
    flex: 1 0 100%;
}
.fully_centralized {
    display: flex;
    justify-content: center;
    align-items: center;
}
.horizontal_centralized {
    display: flex;
    align-items: center;
}
.input_description {
    height: 3.5vh;
    font-size: 2.7vh;
    background-color: cornflowerblue;
    white-space: nowrap;
    overflow: hidden;
}
.input_section {
    width: 100%;
    height: 3.5vh;
}
.input_element {
    font-size: 2.7vh;
    width: 100%;
    height: 100%;
    outline: none;
    box-sizing: border-box;
}
.view_element {
    font-size: 2.7vh;
    width: 100%;
}
.middle {
    position: relative;
    width: 100%;
    height: calc(58.3vh - 1px);
    display: none;
}
.tabAct {
    width: 100%;
    height: calc(54.4vh - 1px);
    display: none;
    border-bottom: 1px solid black;
}
#bt_back {
    display: none;
    height: 100%;
    width: 75%;
    text-align: center;
    line-height: 4vh;
    border: 1px solid black;
    border-top: 0px solid black;
}
.fotoatual {
    object-fit: contain;
    width: 100%;
    height: 100%;
    -webkit-user-drag: none;
    user-select: none;
}
.div_button {
    border-radius: 20px;
    border: 1px solid black;
    cursor: pointer;
    box-sizing: border-box;
    user-select: none;
}
#view_text {
    word-break: break-word;
    padding-top: 0.2vh;
    padding-left: 0.4vh;
}
.motivo {
    font-size: 2.7vh;
    height: 100%;
    width: 100%;
    overflow: auto;
}
.bt_single {
    font-size: 2.7vh;
    width: 85%;
    height: 85%;
    background-color: white;
    white-space: nowrap;
}
.bt_single:hover {
    background-color: gray;
}
.tipos {
    background-color: beige;
    width: 75%;
    height: 4vh;
    border-radius: 15px;
    font-size: 2.7vh;
    text-align: center;
    cursor: pointer;
    line-height: 4vh;
    border-bottom: 1px solid black;
    white-space: nowrap;
    user-select: none;
}
.bt_edit {
    background-color: white;
    font-size: 2.7vh;
    width: 42.5%;
    height: 85%;
}
.bt_edit:hover {
    background-color: gray;
}
.select_text {
    width: 100%;
    height: 100%;
    background-color: white;
    display: flex;
    cursor: pointer;
    user-select: none;
}
.lower {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 30.7vh;
}
#history {
    flex-grow: 1;
    overflow: auto;
}
.case_registro {
    height: 12vh;
    background-color: blanchedalmond;
    border-bottom: 1px solid black;
}
.protocolo_history {
    height: 40%;
    font-size: 4vh;
    padding-left: 1%;
    white-space: nowrap;
}
.r_double {
    height: 30%;
}
.r_esquerdo {
    width: 49%;
    height: 100%;
    font-size: 2.3vh;
    float: left;
    padding-left: 1%;
    white-space: nowrap;
}
.r_direito {
    width: 49%;
    height: 100%;
    font-size: 2.3vh;
    justify-content: end;
    padding-right: 1%;
    white-space: nowrap;
}
.right_part {
    flex-grow: 1;
}
#map {
    width: 100%;
    height: 100%;
    z-index: 0;
}
#bt_left {
    position: absolute;
    margin-top: 50vh;
    transform: translate(0, -50%);
    width: 2vw;
    height: 8vh;
    background-color: white;
    z-index: 1;
    user-select: none;
    text-align: center;
    line-height: 8vh;
    cursor: not-allowed;
}

.leaflet-control-zoom-in {
    user-select: none;
}
.leaflet-control-zoom-out {
    user-select: none;
}
.popup_button {
    user-select: none;
}