*{
    padding: 0;
    margin: 0;   
}

html{
    width: 100%;
    height: 100%;
}

body{
    padding: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    min-width: 800px;
    min-height: 640px;
}

.label{
    width: 120px;
    text-align: right;
    padding-right: 10px;
}

.top-section{
    width: 100%;
    height: calc(100% - 500px);
}
.bottom-section{
    display: flex;
    width: 100%;
    height: 498px;
}
.left-section{
    width: calc(100% - 501px);
    height: 100%;
}

.top-section > div:nth-child(2){
    padding: 2px;
    width: calc(100% - 4px);
    height: calc(100% - 30px);
}

.warning-text{
    width: calc(100% - 20px);
    display: flex;
    align-items: center;
    padding-left: 20px;
    height: 20px;
    color: red;
}

.info-section{
    width: 100%;
    height: calc(100% - 97.7px);
}

.info-section > div:nth-child(1),
.info-section > div:nth-child(2),
.info-section > div:nth-child(3),
.info-section > div:nth-child(4),
.info-section > div:nth-child(5),
.info-section > div:nth-child(6),
.info-section > div:nth-child(7),
.info-section > div:nth-child(8),
.info-section > div:nth-child(9),
.info-section > div:nth-child(10),
.info-section > div:nth-child(11),
.info-section > div:nth-child(12),
.info-section > div:nth-child(13),
.info-section > div:nth-child(14),
.info-section > div:nth-child(15){
    height: 40px;
    width: 100%;
    align-items: center;
    display: flex;
}
.info-section > div:nth-child(7){
    display: flex;
}
.othr-sect > div:nth-child(1),
.othr-sect > div:nth-child(2){
    height: 40px;
    display: flex;
    align-items: center;
}
.btn-sect{
    margin-left: 5px;
    display: flex;
    align-items: center;
}
.btn-sect > div:nth-child(1){
    width: 100px;
    height: 66px;
    display: flex;
    align-items: center;
}

.search-btn-box{
    width: calc(100% - 15px);
    height: 50px;
    display: flex;
    justify-content: right;
    align-items: center;
}
.search-btn-box > div:nth-child(3),
.search-btn-box > div:nth-child(4),
.search-btn-box > div:nth-child(5){
    margin-left: 5px;
}

.map-box{
    width: 100%;
    height: 100%;
}


.map-box > div:nth-child(2) > div:nth-child(1) > div:nth-child(1),
.map-box > div:nth-child(2) > div:nth-child(1) > div:nth-child(2),
.map-box > div:nth-child(2) > div:nth-child(1) > div:nth-child(4),
.map-box > div:nth-child(2) > div:nth-child(1) > div:nth-child(5){
    margin-left: 5px;
}

.map-box > div:nth-child(2) > div:nth-child(1) > div:nth-child(3){
    margin-left: 15px;
}
.map-box > div:nth-child(2) > div:nth-child(2){
    width: calc(100% - 2px);
    height: calc(100% - 33px);
}
.map-box > div:nth-child(2){
    padding: 2px;
    width: calc(100% - 4px);
    height: calc(100% - 31px);
}

#traf-hs-map{
    width: 100%;
    height: 100%;
}

.body-box{
    width: 100%;
    height: calc(100% - 40px);
}

.map-box > div:nth-child(3) > div:nth-child(1) > div:nth-child(2){
    margin-left: 5px;
}
.right-section{
    width: 500px;
    height: 100%;
}
#edit-tooltip {
    position: relative;
    padding: 3px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    opacity: 1;
    white-space: nowrap;
    font: bold 10pt sans-serif;
}

.map-bar{
    width: calc(100% - 22px);
}



.modal-title-box{
    width: 100%;
    height: 35px;
    display: flex;
    align-items: center;
}
.ixr-info{
    width: 100%;
    height: calc(100% - 36px);
}
.ixr-info-box{
    width: calc(100% - 2px);
    height: calc(100% - 2px);
}

.ixr-info-box > div:nth-child(2){
    width: calc(100% - 4px);
    height: calc(100% - 30px);
    padding: 2px;
}
.ixr-info-box > div:nth-child(2) > div:nth-child(1){
    width: calc(100% - 2px);
    height: calc(100% - 2px);
}
.modal-background{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(75, 73, 73, 0.4);
}
.modal-container{
    z-index: 5;
    width: 900px;
    height: 600px;
    padding: 2px;
    box-shadow: 0px 0px 10px #000;
}
.modal-container > div:nth-child(1){
    width: calc(100% - 2px);
    height: calc(100% - 2px);
}
.title-box{
    display: flex;
    width: 100%;
    height: 40px;
    min-height: 35px;
}

.title-box > div:nth-child(1),
.modal-title-box > div:nth-child(1){
    position: relative;
    font-size: 18px;
    display: flex;
    align-items: center;
    left: 20px;
}
.title-box > div:nth-child(2),
.title-box > div:nth-child(3){
    position: relative;
    align-items: center;
    display: flex;
    margin-right: 10px;
}
.modal-title-box > div:nth-child(2){
    margin-left: auto;
    margin-right: 10px;
}
.title-box > div:nth-child(2){
    margin-left: auto;
}


.modal-screen{
    z-index: 5;
    position: relative;
    width: 300px;
    height: 200px;
    display: flex;
    flex-direction: column;
}
.modal-background{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(75, 73, 73, 0.4);
}
.modal-title{
    width: calc(100% - 10px); 
    height: 15%;
    display: flex; 
    align-items: center; 
    padding-left: 10px;
}
.modal-content{
    width: 100%;
    height: 65%;
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
}
.modal-button{
    width: 100%;
    height: 20%;
    display: flex;
    align-items: center;
    justify-content: right;
}
.modal-button > div{
    margin-right: 10px;
}
.modal-content-title{
    width: 250px;
    margin-bottom: 10px;
}