@import url("/css/style.css");
@import url("/css/components/toast.css");
@import url("/css/components/chart.css");
@import url("/css/components/table.css");
@import url("/css/components/tags.css");
@import url("/css/components/edit.css");
@import url("/css/components/search.css");

/* transition для фильтра по местоположению */
.location-filter {
    transition: width 0.15s;
}

.main-table .tabulator-tableHolder {
    min-height: 300px;
}

.main-table {
    border: solid 1px #aaa;
    padding: 0;
}



/* messages */
#messages-text {
    min-height: 100px;
}

#messages-ids {
    margin: 1rem 0 0 0;
    padding: 0 0 0 40px;
    max-height: 200px;
    overflow-y: scroll;
    overflow-x: hidden;
    border-radius: 5px;
    border: 1px solid #ced4da;
}

.messagesTable{
    border-collapse: separate;
    text-align: center;
    table-layout: auto;
    border-radius: 5px;
    font-size: 14px;
}

.messagesTable thead {
    position: sticky;
    background-color: white;
    top: 0;
}

.messagesTable tbody tr:hover{
    background-color: #eee;
}

.messagesTable tbody {
    max-height: 200px;
    overflow: auto;
}

.messagesTable td,
.messagesTable th {
    min-width: 100px;
    margin: 0;
}

.messagesTable td:first-child, 
.messagesTable th:first-child {
    min-width: 150px;
}

.messagesTable p {
    width: 100%;
    margin: 0 auto;
}

.messagesTableContainer {
    max-height: 300px;
    overflow: auto;
    position: relative;
}

/* Классы для чипсов на странице main */
.chip {
    display: flex;
    flex-direction:row;
    align-items:center;
    padding: 0 25px;
    width: 100px;
    height: 30px;
    font-size: 14px;
    line-height: 50px;
    border-radius: 25px;
    background-color: #f1f1f1;
}
  
.closebtn {
    padding-left: 10px;
    color: #888;
    font-weight: bold;
    float: right;
    font-size: 18px;
    cursor: pointer;
}