.grp {
    background: white;
    /* width: 100%; */
    /* max-width: clamp(195px,12vw,210px); */
    border-radius: 5px;
    /* overflow: hidden; */
    text-align: left;
    position: relative;
    /* margin: 5px 8px; */
    flex: 1 1 45%;
    max-width: 45%;
    min-width: 190px;
    height: 60px;
    /* aspect-ratio: 4/1; */
}
.grp.unreachable {
    opacity: 0.3;
    pointer-events: none;
    cursor: not-allowed;
}

div#grp_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    margin:auto;
    gap: 5px;
}


.grp_head {
    background: #2d3651;
    color: white;
    padding: 10px 10px 10px 8px;
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 100%;
    width: 100%;
    border-radius: inherit;
}

.grp_agent {
    font-size: 80%;
}

.grp_title,.grp_agent {
    line-height: calc(clamp(18px,1.6vw,25px) + 10px);
    font-size: clamp(18px,1.6vw,25px);
    width: 80%;
    /* white-space: pre; */
    text-align: center;
}

.grp_inc_cont {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 18px 25px;
    background: #e9edf1;
}

.grp_icon {
    height: 25px;
    width: 25px;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    margin: 0 5px 0px 5px;
}

.grp_body {
    padding: 0 0 15px 0;
    display: none;
}

.grp_inc_desc {
    font-size: 70%;
}

.grp_row {
    padding: 10px 25px;
}

.grp_row_desc {
    font-size: 70%;
    text-transform: uppercase;
}

.grp_row_data {
    display: flex;
    flex-direction: column;
}

.grp_row_data span {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
}


.grp_status {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 25px;
    height: 25px;
    border-radius: 25px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    line-height: 0;
    text-transform: uppercase;
    color: black;
}


input#show_filters:not(:checked) ~ #filters {max-height: 0 !important;}

div#filters {
    overflow: hidden;
    transition: 300ms;
    margin: auto;
    width: 100%;
    flex-grow: 1;
    display: block;
    /* justify-content: center; */
    /* display: block !important; */
    /* margin: auto; */
}

label[for="show_filters"], #sub_header button {
    /* border: 0 !important; */
    border: 1px solid #2d3651 !important;
    min-width: 160px !important;
    margin: 0;
    text-align: left;
    border-radius: 7px;
    background: transparent;
    white-space: pre;
    height: 52px !important;
    cursor:pointer;
    font-size: inherit !important;
    line-height: inherit !important;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-indent: 0;
    color: white !important;
    background: #2d3651;
}

div#sub_header {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

#sub_header form {
    width: auto;
}

button#add_grp {
    width: min-content;
}

form#form_filters {
    width: clamp(270px,85%,700px);
    margin: 0 auto;
}


div#filters form select {
    text-align: center;
}


#service_group {
    border: 0;
    padding: 0px 0px;
    box-sizing: content-box;
    display: block;
    text-align: center;
    background: #e6e8e9;
    border-right: 10px solid #e6e8e9;
    border-left: 10px solid #e6e8e9;
    flex: 0 0 calc(45% - 20px);
    min-width: 170px;
}