@use "../variables/variables" as v;

.dictionaries-search {
  background: #ffffff;
  border: 1px solid #b6bec4;
  box-sizing: border-box;
  border-radius: 4px;
  height: 41px;
}

.header-table-wrapper {
  font-family: Roboto;
  font-style: normal;
  font-weight: normal;
  font-size: 0.75rem;
  line-height: 14px;

  /* identical to box height */
  text-transform: uppercase;

  color: #46535b;
}

.form-check-label {
  font-size: 0.75rem;
  margin-left: 7px;
}

.form-switch .form-check-input {
  height: 20px;
  width: 40px;
}

.form-check-input:checked {
  background-color: v.$navigation-maincolor;
  border-color: v.$navigation-maincolor;
}

// Summernote

.note-editing-area {
  background-color: white;
}

.note-editor .dropdown-toggle::after {
  all: unset;
}

.note-editor .note-dropdown-menu {
  box-sizing: content-box;
}

.note-editor .note-modal-footer {
  box-sizing: content-box;
}

.table-users {
  width: 100%;
  border-collapse: collapse;
}

.table-users td,
.table-users th {
  padding: 12px 15px;
  // border: 1px solid #ddd;
  text-align: center;
  font-size: 1rem;
}

.new-row {
  border-top: 1px solid white;
}

/*responsive*/

@media (max-width: 1192px) {
  .table-users thead {
    display: none;
  }

  .table-users,
  .table-users tbody,
  .table-users tr,
  .table-users td {
    display: block;
    overflow: hidden;
    width: 100%;
  }
  .table-users tr {
    margin-bottom: 15px;
  }
  .table-users td {
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    // padding-right: 50%;
    text-align: left;
    position: relative;
  }
  .table-users td::before {
    content: attr(data-label);
    position: absolute;
    margin-left: 35px;
    // width: 40%;
    // padding-left: 12px;
    font-size: 1rem;
    // font-weight: bold;
    text-align: left;
  }
}

#add-area {
  height: 41px;
  padding: 10px 40px;
}

.areas-table {
  background-color: #e0e6ea;
  th {
    color: v.$navigation-maincolor;
  }
  tr {
    border-color: #ffffff;
  }
}

.table > :not(:last-child) > :last-child > * {
  border-bottom-color: #e0e6ea;
  background-color: #f5f5f5;
}

.checkbox-table {
  width: 24px;
  height: 24px;
  background: v.$navigation-maincolor;
  border-radius: 4px;
}

.table-button-grp {
  box-shadow: none;
  border: none;
  background-color: inherit;
}

.table-buttons {
  float: right;
  margin-right: 20px;
}

.selected-row {
  background: #ffffff;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  height: 67px;
  vertical-align: middle;
}
