.card.first-level {
    margin-top: 0;
    margin-bottom: 0;
    max-height: calc(100vh - 110px);
}

.card-content.first-level {
    max-height: inherit;
    overflow-y: auto;
    max-width: calc(100vw - 160px - 24px);
}

.card-content.first-level .row {
    margin-bottom: 0;
}

.card h2.card-title {
    font-size: 20px;
    margin: 0 0 8px 0;
}

.card h3.card-title {
    font-size: 18px;
    margin: 8px 0;
}

.card .card-content .card-action {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-end;
    align-items: center;
    padding: 20px 0px 0px 0px;
    border-top: none;
}

.card .card-content .card-action.settings {
    justify-content: flex-start;
}

.card .card-content .card-action.settings button {
    margin-left: 0;
}

.card .card-content .card-action button {
    margin-left: 20px;
    font-size: 12px;
    text-transform: none;
}

.card-content .card {
    height: 172px;
    max-height: 172px;
    padding: 20px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.card-content .card .card-image {
    height: 30px;
}

.card-content .card .card-stacked {
    height: 120px;
}

.card-content .card .card-content {
    padding: 0;
    overflow-y: hidden;
    text-overflow: ellipsis;
}

.card-content .card .card-content .card-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-content .card .card-content p {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.card .card-content .card-action .row {
    margin: 0;
}

.content .card-content .control-panel .ldap-tree .search-field .collection .collection-item-tree {
    background-color: #fff;
    line-height: 1.5rem;
    padding: 5px 10px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
}

.content .card-content .control-panel .ldap-tree .search-field .collection .collection-item-tree span {
    font-size: 12px;
    font-weight: bold;
    margin-right: 1rem;
}

.content .card-content .control-panel .ldap-tree .search-field .collection .collection-item-tree p {
    font-size: 12px;
    color: grey;
}

.content .card-content .control-panel .ldap-tree .search-field .collection .collection-item-tree i {
    position: relative;
    top: unset;
    margin-right: 1rem;
}

.object-info .content-wrapper .ldap-tree .search-field .collection .collection-item-tree {
    background-color: #fff;
    line-height: 1.5rem;
    padding: 5px 10px;
    margin: 0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
}

.object-info .content-wrapper .ldap-tree .search-field .collection .collection-item-tree span {
    font-size: 12px;
    font-weight: bold;
    margin-right: 1rem;
}

.object-info .content-wrapper .ldap-tree .search-field .collection .collection-item-tree p {
    font-size: 12px;
    color: grey;
}

.object-info .content-wrapper .ldap-tree .search-field .collection .collection-item-tree i {
    position: relative;
    top: unset;
    margin-right: 1rem;
}

.content .rsyslog-wrapper .input-field.add {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
}

.content .rsyslog-wrapper .input-field.add button {
    height: 30px;
    line-height: 30px;
    margin-left: 20px;
    margin-bottom: 8px;
    background-color: transparent;
    color: #000;
    width: auto;
    text-transform: initial;
}


/* Adjustment of the paddings when the control panel is visible */

.list-head-wrapper {
    padding: 24px 24px 20px 24px;
    -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
}

.list-content-wrapper {
    padding: 0 24px 24px 24px;
}

@media only screen and (min-width: 1200px) and (max-width: 1600px) {
    .card-content .card .card-content p {
        -webkit-line-clamp: 3;
    }
    .card-content .card .card-content h3 {
        font-size: 16px;
    }
}