@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700&display=swap');

/*
 * General
 */
body.evaluators {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/*
 * Header
 */
.ev-header {
    padding: 1.5rem 0;
}

.ev-header .logos {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.ev-header .logos img {
    height: 50px;
}

.ev-header nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2rem;
    height: 100%;
}

.ev-header nav a {
    color: #333;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
}

.ev-header nav a:hover,
.ev-header nav a.active {
    color: #562e5f;
    text-decoration: underline;
}

/*
 * Hero
 */
.ev-hero {
    background-color: #d7e9f6;
    border-radius: 1rem;
    padding: 2.5rem;
    margin: 0 0 2rem;
    position: relative;
    overflow: hidden;
    background-image: url('/assets/site/images/evaluatoren-netwerk-header.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
}

.ev-hero h1 {
    color: #562e5f;
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.ev-hero p {
    color: #555;
    max-width: 650px;
    line-height: 1.8;
}

.ev-hero a {
    color: #333;
    text-decoration: underline;
}

.ev-hero .hero-illustration {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    opacity: 0.6;
}

/*
 * Profile Hero (show page)
 */
.ev-hero .profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.ev-hero .subtitle {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 1rem;
}

.ev-hero .badge {
    background-color: #fff;
    color: #333;
    border: none;
    border-radius: 2rem;
    padding: 0.35rem 1rem;
    font-size: 0.85rem;
    font-weight: 400;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/*
 * Evaluator Cards
 */
.ev-card {
    background: #fff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid #e7e7e7;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.ev-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.ev-card .photo-wrapper {
    position: relative;
    flex-shrink: 0;
}

.ev-card .photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.ev-card .linkedin-icon {
    position: absolute;
    top: -2px;
    left: -2px;
    width: 30px;
    height: 30px;
    background-color: #d7e9f6;
    color: #22304b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.ev-card .info {
    flex: 1;
}

.ev-card .info h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.ev-card .info p {
    margin: 0;
    color: #888;
    font-size: 0.85rem;
}

.btn-profile,
.ev-card .btn-profile {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.4rem 1.25rem;
    background-color: #562e5f;
    color: #fff;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s;
}

.btn-profile .fal,
.ev-card .btn-profile .fal {
    margin-left: 0.4rem;
}

.btn-profile:hover,
.ev-card .btn-profile:hover {
    background-color: #3a1260;
    color: #fff;
    text-decoration: none;
}

/*
 * Sidebar
 */
.ev-sidebar-block {
    background: #fff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.ev-sidebar-block.ev-search {
    background: #e6dfec;
    box-shadow: none;
}

.ev-sidebar-block h4 {
    font-size: 1.25rem;
    font-weight: 400;
    color: #1D314D;
    margin-bottom: 1rem;
}

.ev-sidebar-block label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #5C2B62;
    margin-bottom: 0.35rem;
}

.ev-sidebar-block .form-control {
    border-radius: 2rem;
    border: 1px solid #ddd;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.ev-sidebar-block .form-control:focus {
    border-color: #562e5f;
    box-shadow: 0 0 0 0.2rem rgba(74, 25, 113, 0.15);
}

.ev-sidebar-block .input-group .form-control,
.ev-sidebar-block .input-group .custom-select {
    border-right: 0;
    border-radius: 2rem 0 0 2rem;
    border: 1px solid #ddd;
    border-right: 0;
    background-color: #fff;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.ev-sidebar-block .input-group .custom-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: none;
    height: auto;
    line-height: 1.6;
}

.ev-sidebar-block .input-group-text {
    background: #fff;
    border-radius: 0 2rem 2rem 0;
    border: 1px solid #ddd;
    border-left: 0;
    color: #562e5f;
}

.ev-sidebar-block.ev-references {
    background-color: #d7e9f6;
    box-shadow: none;
}

.ev-sidebar-block.ev-references h4 {
    color: #212f49;
}

.ev-sidebar-block.ev-references p {
    color: #000;
}

.ev-sidebar-block .btn-references {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: #24324e;
    color: #fff;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}

.ev-sidebar-block .btn-references .fal {
    color: #f6ce4f;
    margin-left: 0.4rem;
}

.ev-sidebar-block .btn-references:hover {
    background-color: #1a2539;
    color: #fff;
    text-decoration: none;
}

/*
 * Contact sidebar (show page)
 */
.ev-sidebar-block.ev-contact {
    background-color: #e2dce8;
    box-shadow: none;
}

.ev-sidebar-block.ev-contact h4 {
    color: #21304b;
}

.ev-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ev-contact-list li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: #000;
}

.ev-contact-list li i {
    width: 20px;
    color: #000;
    margin-right: 0.5rem;
}

.ev-contact-list li a {
    color: #000;
    text-decoration: none;
    word-break: break-all;
}

.ev-contact-list li a:hover {
    text-decoration: underline;
}

/*
 * Profile content (show page)
 */
.ev-profile-content h3 {
    color: #21304b;
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.ev-profile-content p {
    color: #000;
}

.ev-profile-content h3:first-child {
    margin-top: 0;
}

.ev-profile-content table {
    width: 100%;
    margin-bottom: 1rem;
}

.ev-profile-content table td {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
    vertical-align: top;
}

.ev-profile-content table tr:first-child td {
    border-top: 1px solid #eee;
}

.ev-profile-content table td:first-child {
    color: #888;
    white-space: nowrap;
    width: 120px;
}

.ev-profile-content a {
    color: #562e5f;
    text-decoration: underline;
}

.ev-profile-content a:hover {
    color: #3a1260;
}

/*
 * Range slider
 */
.ev-range-slider {
    margin-top: 0.5rem;
}

.ev-range-values {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.35rem;
    font-size: 0.85rem;
    color: #888;
}

.ev-range-values span {
    color: #562e5f;
    font-weight: 600;
}

/*
 * Pagination
 */
.ev-pagination {
    padding: 1.5rem 0 0;
    display: flex;
    justify-content: center;
}

.ev-pagination .pagination {
    justify-content: center;
    gap: 0.15rem;
}

.ev-pagination .page-item .page-link {
    border: none;
    background: none;
    color: #555;
    font-size: 0.9rem;
    padding: 0.4rem 0.7rem;
    border-radius: 0.35rem;
}

.ev-pagination .page-item .page-link:hover {
    background-color: #e9ecef;
    color: #333;
}

.ev-pagination .page-item.active .page-link {
    background: none;
    color: #333;
    font-weight: 600;
    border: 1px solid #b8c4cc;
}

.ev-pagination .page-item.disabled .page-link {
    color: #ccc;
}

/*
 * Footer
 */
.ev-footer {
    background-color: #326572;
    background-image: url('/assets/site/images/evaluatoren-netwerk-footer.png');
    background-repeat: no-repeat;
    background-position: right -100px top -100px;
    background-size: 400px;
    color: #fff;
    padding: 2.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    border-radius: 1rem;
}

.ev-footer h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.ev-footer strong {
    display: block;
    margin-bottom: 0.25rem;
}

.ev-footer a {
    color: #fff;
    text-decoration: underline;
}

.ev-footer a:hover {
    color: #fff;
}

.ev-footer .footer-info {
    font-size: 0.9rem;
    line-height: 1.8;
}

/*
 * Sector tags in search
 */
.ev-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background-color: #e8f4f8;
    border: 1px solid #b8d4e8;
    border-radius: 2rem;
    padding: 0.3rem 0.75rem;
    font-size: 0.8rem;
    color: #333;
    margin: 0.15rem;
}

.ev-tag .remove {
    cursor: pointer;
    color: #888;
    font-weight: 600;
}

.ev-tag .remove:hover {
    color: #333;
}

/*
 * Reference cards
 */
.ev-reference-card {
    flex-direction: column;
    align-items: flex-start;
}

.ev-reference-card h5 {
    color: #21304b;
    font-size: 1.1rem;
}

.ev-reference-card > .info > p {
    color: #21304b;
}

.ev-reference-card hr {
    border-color: #b9cbda;
}

.ev-reference-details {
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem;
}

.ev-reference-details li {
    padding: 0.3rem 0;
    font-size: 0.9rem;
    color: #562e5f;
}

.ev-reference-details li i {
    width: 20px;
    color: #562e5f;
    margin-right: 0.5rem;
}

/*
 * Responsive
 */
@media (max-width: 991px) {
    .ev-hero .hero-illustration {
        display: none;
    }

    .ev-hero .profile-photo {
        width: 100px;
        height: 100px;
    }

    .ev-hero h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {
    .ev-header nav {
        margin-top: 1rem;
        justify-content: flex-start;
    }

    .ev-hero .d-flex {
        flex-direction: column;
        text-align: center;
    }

    .ev-hero .profile-photo {
        margin-right: 0 !important;
        margin-bottom: 1rem;
    }

    .ev-card {
        flex-wrap: wrap;
    }
}
