.cp-phone-book-page #cat-name {
    margin: 0;
    padding: 0 20px;
    color: #122f67;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

.cp-phone-book {
    margin: 70px 0 45px;
}

.cp-phone-book__toolbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 20px;
}

.cp-phone-book__count {
    color: #777777;
    font-size: 15px;
}

.cp-phone-book__search-wrap {
    width: 100%;
    max-width: 320px;
}

.cp-phone-book__search-label {
    display: block;
    margin-bottom: 8px;
    color: #303030;
    font-size: 15px;
    font-weight: 600;
}

.cp-phone-book__search {
    width: 100%;
    height: 36px;
    padding: 0 16px;
    border: 2px solid #a5b1c9;
    border-radius: 24px;
    background: #ffffff;
    color: #333333;
    outline: none;
}

.cp-phone-book__search:focus {
    border-color: #122f67;
}

.cp-phone-book__table-wrap {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    border: 1px solid #dddddd;
    border-radius: 5px;
    background: #ffffff;
}

.cp-phone-book__table {
    width: 100%;
    min-width: 1350px;
    table-layout: fixed;
}

.cp-phone-book__table th,
.cp-phone-book__table td {
    padding: 14px 12px;
    border-right: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd;
    color: #000000;
    line-height: 1.45;
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.cp-phone-book__table td {
    font-size: 13px;
}

.cp-phone-book__table th:last-child,
.cp-phone-book__table td:last-child {
    border-right: 0;
}

.cp-phone-book__table tbody tr:last-child td {
    border-bottom: 0;
}

.cp-phone-book__table th {
    background: #ffffff;
    color: #000000;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.cp-phone-book__table th[data-role="sort"] {
    padding: 0;
}

.cp-phone-book__sort {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 14px 12px;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-align: left;
    text-transform: inherit;
    cursor: pointer;
}

.cp-phone-book__sort:hover {
    color: #122f67;
}

.cp-phone-book__sort-label {
    min-width: 0;
    overflow-wrap: anywhere;
}

/* Τρίγωνο σε CSS borders: κάτω = φθίνουσα, πάνω = αύξουσα. */
.cp-phone-book__sort-icon {
    flex: 0 0 auto;
    width: 0;
    height: 0;
    border-top: 5px solid currentColor;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    opacity: 0.18;
    transition: opacity 0.15s ease;
}

.cp-phone-book__sort:hover .cp-phone-book__sort-icon,
.cp-phone-book__sort:focus-visible .cp-phone-book__sort-icon {
    opacity: 0.5;
}

.cp-phone-book__table th.is-sorted-asc .cp-phone-book__sort-icon {
    border-top: 0;
    border-bottom: 5px solid currentColor;
    opacity: 1;
}

.cp-phone-book__table th.is-sorted-desc .cp-phone-book__sort-icon {
    opacity: 1;
}

.cp-phone-book__table th.is-sorted-asc,
.cp-phone-book__table th.is-sorted-desc {
    color: #122f67;
}

.cp-phone-book__table tbody tr {
    background: #F5F5F5;
    transition: background 0.2s ease;
}

.cp-phone-book__table tbody tr.is-even {
    background: #FFFFFF;
}

.cp-phone-book__table tbody tr:hover {
    background: #e8edf7;
}

.cp-phone-book__col-directorate {
    width: 11%;
}

.cp-phone-book__col-department {
    width: 12%;
}

.cp-phone-book__col-office {
    width: 8%;
}

.cp-phone-book__col-position {
    width: 14%;
}

.cp-phone-book__col-name {
    width: 14%;
}

.cp-phone-book__col-phone {
    width: 10%;
}

.cp-phone-book__col-email {
    width: 16%;
}

.cp-phone-book__col-address {
    width: 15%;
}

.cp-phone-book__table a:hover {
    text-decoration: underline;
}

.cp-phone-book__contact-line
+ .cp-phone-book__contact-line {
    margin-top: 5px;
}

.cp-phone-book__contact-line a {
    color: #000000;
    font-size: 13px;
}

/*
 * Εγγραφές που ήρθαν από άλλη σελίδα του καταλόγου. Το inset box-shadow
 * αντί για border-left, ώστε να μη μετακινούνται οι στήλες του
 * table-layout: fixed.
 */
.cp-phone-book__table tbody tr.is-external td:first-child {
    box-shadow: inset 3px 0 0 #7e8d5d;
}

.cp-phone-book__source {
    display: block;
    margin-top: 6px;
    color: #7e8d5d;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
}

.cp-phone-book__table a.cp-phone-book__source:hover {
    color: #122f67;
}

.cp-phone-book__external-note {
    margin: 16px 0 0;
    color: #777777;
    font-size: 13px;
}

.cp-phone-book__filter-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding: 12px 16px;
    border-left: 4px solid #122f67;
    border-radius: 5px;
    background: #E5F3F8;
    color: #122f67;
    font-size: 15px;
}

.cp-phone-book__filter-banner-text {
    font-weight: 700;
}

.cp-phone-book__filter-clear {
    padding: 0;
    border: 0;
    background: transparent;
    color: #303030;
    font-size: 13px;
    text-decoration: underline;
    cursor: pointer;
}

.cp-phone-book__filter-clear:hover {
    color: #122f67;
}

.cp-phone-book__empty {
    margin-top: 20px;
    color: #3f3f3f;
    font-size: 15px;
}

.cp-phone-book [hidden] {
    display: none !important;
}

.cp-phone-book__pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.cp-phone-book__page-item {
    display: inline-flex;
    align-items: center;
    gap: 1px;
}

.cp-phone-book__page-btn {
    min-width: auto;
    height: auto;
    padding: 4px 2px;
    border: 0;
    background: transparent;
    color: #7e8d5d;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
}

.cp-phone-book__page-btn--arrow {
    padding: 4px 6px;
    color: #8a8a8a;
    font-size: 22px;
}

.cp-phone-book__page-btn--number:hover {
    color: #122f67;
}

.cp-phone-book__page-btn--number.is-active {
    color: #7e8d5d;
    font-weight: 700;
}

.cp-phone-book__page-separator {
    color: #7e8d5d;

    font-size: 16px;
    line-height: 1;
}

.cp-phone-book__page-btn:disabled {
    opacity: 0.35;
    cursor: default;
}

@media screen and (max-width: 767px) {

    .cp-phone-book-page #cat-name {
        font-size: 26px;
    }

    .cp-phone-book {
        margin-top: 45px;
    }

    .cp-phone-book__toolbar {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 18px;
    }

    .cp-phone-book__search-wrap {
        max-width: none;
    }

    .cp-phone-book__pagination {
        justify-content: center;
    }

}