#popup_container{
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
  }

.popup{
    background-color: #f9f9f9;
    max-width: 675px;
    max-height: 94%;
    width: 80%;

    margin: auto;
    margin-top: 3%;
    border-radius: 30px;
    padding: 10px;
}

/************
** HEADING **
*************/

.popup_header{
    max-height: 60px;
    height: 100%;
    margin-bottom: 10px;

    display: flex;
    flex-direction: row;
}

.popup_heading{
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    overflow: hidden;
}

.popup_heading_title {
    font-size: 25px;
    font-weight: 700;
}

.popup_heading_subtitle {
    padding-left: 10px;
    font-size: 18px;
}

.popup_closebutton {

    height: 10px;
    line-height: 10px;
    padding: 13px;
    margin-left:auto;

    border-radius: 18px;
    border-style: solid;
    border-width: 2px;
    border-color: rgb(46, 77, 77);
}

.popup_closebutton:hover {
    cursor: pointer;
    background-color: #ddd;
    border-style: dashed;
}

/*********
** BODY **
**********/

.popup_body{  
    overflow-y: auto;
    max-height: 60vh;
}


.popup_group {
    padding: 10px;
    background-color: #f4f4f4;
    margin-bottom: 10px;
    border-radius: 10px;
    margin-right: 10px;
}

.popup_group_header{
    padding-top: 5px;
    padding-bottom: 10px;
}

.popup_group_title_toggle {
    pointer-events: none;
    margin-right: 15px;
    font-weight: 700;
}

.popup_group_title {
    font-size: 18px;
    pointer-events: none;
}

.popup_group_container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    grid-gap: 10px;
    grid-auto-flow: row;
}

.popup_group_container_border {
    border-style: solid;
    border-width: 1px;
    border-color: #535353;
}


.popup_body_item {
    margin-left: 15px;
}

@media only screen and (max-width: 500px) {
    .popup_group_container {
        grid-template-columns: 100% !important;
    }

    .popup_body_item {
        grid-column: span 1 !important;
    }

    .popup_body_item_row {
        flex-wrap: wrap !important;
    }
    
  }

/***********
** Items **
************/

.popup_item_title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 5px;
}

.popup_body_item_seperator {
    grid-column: 1/-1;
}

.popup_item_textbox {
    grid-row: span 1;
    grid-column: span 1;
} 

.popup_item_textbox_text {
    
} 

.popup_item_textlink {
    grid-column: span 2;
}

.popup_item_textlink_link {
    color: rgb(118, 170, 136);
    font-size: 14px;
}

.popup_body_item_input_readonly {
    pointer-events: none;
    background-color: inherit;
    border: none;
}


.popup_item_button > input {
    display: block;
    width: 100%;
    height: 30px;
}

.popup_item_map {
    grid-row: span 4;
    grid-column: span 2;
    
    cursor: pointer;
}

.popup_item_map > div > div {
    min-width: 100px;
    min-height: 200px;

    border-radius: 10px;
    border-style: solid;
    border-width: 1px;
}

.popup_body_item_row {
    grid-column: 1/-1;
    
    display: flex;
    flex-direction: row;
    align-items: baseline;
    flex-wrap: nowrap;
}

.popup_body_item_row_title {
    font-size: 13px;
    flex-grow: 1;
}

.popup_body_item_row > input[type=button], .popup_body_item_row_inputtext{
    border: none;
    background-color: inherit;
    font-size: 12px;
    cursor: pointer;
    display: inline-block;
    color: rgb(0, 140, 196);
    margin-right: 10px;
}

.popup_body_item_row > input[type=button]:hover{
    text-decoration:underline;
}
