﻿.solid-divider {
    margin: 0.1px;
    border: none;
    height: 1px;
    color: var(--background-color-2);
    background-color: var(--background-color-2);
}

.contact-content p,
.employee-content  p{
    margin-bottom: 0.25rem;
}

.contact-content > div > div > .employee-content {
    padding-bottom: 0.75rem;
}

/* Give all divs except first in contact-content that either contains division-block or employeeblock margin-top */
.contact-content > div > div:not(:first-child) {
    margin-top: 1rem;
}

.date-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}


/*Mobile size predefined by designer*/
@media only screen and (max-width: 767px) {
    .date-section {
        flex-direction: column;
        justify-content: flex-start;
    }
}

.flex-dates {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0 0.55rem 0;
}

@-moz-document url-prefix() {
    .flex-dates {
        padding: 0.75rem 0 0.5rem 0;
    }
}

/*Mobile size predefined by designer*/
@media only screen and (max-width: 767px) {
    .flex-dates {
        width: 100%;
        max-width: calc(100% - 1.5rem);
        margin: 0 auto;
        justify-content: flex-start;
        padding: 0.4rem 0.75rem;
    }
}

.news-date {
    margin: 0;
    text-align: center;
    font-size: 1rem;
}

/*Mobile size predefined by designer*/
@media only screen and (max-width: 767px) {
    .news-date {
        margin: 0;
        text-align: center;
        font-size: 0.875rem;
    }
}

.date-divider {
    padding: 0 0.6rem 0 0.6rem;
    margin: 0;
    font-size: 1rem;
}

.show-logs {
    min-width: 40%;
    display: flex;
    justify-content: flex-end;
}

/*Mobile size predefined by designer*/
@media only screen and (max-width: 767px) {
    .show-logs {
        width: 100%;
        justify-content: flex-start;
    }
}

.show-logs-button {
    height: 100%;
    color: var(--text-color);
    background-color: transparent;
    border: 0px;
    font-weight: 400;
    line-height: 1.6875rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 1rem;
    margin-top: 1px;
}

    .show-logs-button:hover,
    .show-logs-button:focus-visible {
        text-decoration: underline;
        text-decoration-color: var(--primary-dark-green);
    }

    .show-logs-button:active {
        color: var(--link-color-blue);
        text-decoration: none;
    }

    .show-logs-button:focus-visible {
        background-color: var(--yellow-support-color-1);
        color: var(--primary-dark-green);
        outline: 2px solid var(--link-color-blue);
        outline-offset: 0;
    }

@media only screen and (max-width: 767px) {
    .show-logs-button {
        font-size: 0.875rem;
        padding: 0.41rem 0.75rem;
        margin-top: 0;
    }
}

.logs-button-open {
    background-color: var(--yellow-support-color-1);
}

.logs-button-closed::before {
    content: "";
    overflow: hidden;
    display: inline-block;
    background: url('../gfx/Icons/Chevron-down-dark-green.svg') no-repeat center;
    object-fit: contain;
    width: 1.125rem;
    height: 1.125rem;
    background-size: 1rem 1rem;
    margin-right: 0.625rem;
    margin-bottom: 0.1rem;
    transition: all 0.3s linear;
}

.logs-button-open::before {
    content: "";
    overflow: hidden;
    display: inline-block;
    background: url('../gfx/Icons/Chevron-down-dark-green.svg') no-repeat center;
    object-fit: contain;
    width: 1.125rem;
    height: 1.125rem;
    background-size: 1rem 1rem;
    margin-right: 0.625rem;
    margin-bottom: 0.1rem;
    transition: all 0.3s linear;
    transform: rotate(-180deg);
}

.changes-log {
    display: none;
    background-color: var(--yellow-support-color-1);
    padding: 1rem;
    margin-top: 0.6px;
    border-radius: 0 0 4px 4px;
}

    .changes-log h2 {
        margin: 0;
        font-weight: var(--semi-bold-title);
        font-size: var(--font-size-h4);
        line-height: var(--line-height-h4);
    }

    .changes-log ul {
        padding: 0 1.8rem;
        margin: 0.4rem 0;
    }

.show {
    display: block;
}

.logs-bottom-row {
    width: 100%;
    display: flex;
    justify-content: center;
}

.logs-close::before {
    content: "";
    overflow: hidden;
    display: inline-block;
    background: url('../gfx/Icons/Exit.svg') no-repeat center;
    object-fit: contain;
    width: 1.5rem;
    height: 1.5rem;
    background-size: 1.5rem 1.5rem;
    margin-right: 0.25rem;
}

.logs-close {
    background-color: transparent;
    color: var(--primary-dark-green);
    font-weight: 600;
    border: 0;
    text-decoration: none;
    text-underline-offset: 0.15rem;
    padding: 0.625rem 0.8rem;
    display: flex;
    align-items: center;
}

    .logs-close:hover {
        background-color: transparent;
    }

    .logs-close:focus-visible {
        background-color: white;
        padding: 0.5rem 0.675rem;
    }

        .logs-close:focus-visible::before {
            content: "";
            overflow: hidden;
            display: inline-block;
            background: url('../gfx/Icons/Exit-blue.svg') no-repeat center;
            object-fit: contain;
            width: 1.5rem;
            height: 1.5rem;
            background-size: 1.5rem 1.5rem;
            margin-right: 0.25rem;
        }
    
.news-page-title {
    margin: 2.25rem 0 1.375rem 0;
}

.news-page-ingress p {
    font-size: 1.375rem;
    margin: 1.375rem 0;
    font-weight: 300;
    line-height: 2.0625rem;
}

@media only screen and (max-width: 767px) {
    .news-page-title {
        margin: 1rem 0;
    }

    .news-page-ingress p {
        font-size: 1.25rem;
        line-height: 1.875rem;
        margin: 1rem 0;
    }
}

.news-page-content {
    margin-bottom: 1.375rem;
    font-size: 1.125rem;
}

.news-page-extra-content {
    margin-bottom: 1.375rem;
    font-size: 1.125rem;
}

@media only screen and (max-width: 767px) {
    .news-page-content {
        margin-bottom: 1rem;
        font-size: 1rem;
    }

    .news-page-extra-content {
        margin-bottom: 1rem;
        font-size: 1rem;
    }
}

.more-news {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.875rem;
    margin: 1.1rem 0 0.5rem 0;
}

@media only screen and (max-width: 767px) {
    .more-news {
        font-size: 1rem;
        font-weight: 600;
        line-height: 1.5rem;
        margin: 1rem 0 0.625rem 0;
    }
}

.category-section {
    border-top: 1px solid var(--purple-support-color-2);
    border-bottom: 1px solid var(--purple-support-color-2);
    display: flex;
    flex-direction: column;
}

.categories-button-section {
    margin: 0 0 0.875rem -0.25rem;
    height: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

@media only screen and (max-width: 767px) {
    .more-news {
        margin-top: 1rem;
    }

    .categories-button-section {
        margin-bottom: 0.5rem;
    }
}

.category-link {
    background-color: var(--purple-support-color-1);
    border-radius: 4px;
    border: 0;
    padding: 0.6rem 1rem;
    margin: 0 0.25rem 0.5rem 0.25rem;
    color: var(--text-color);
    font-weight: 600;
    text-decoration: none;
    width: fit-content;
}

    .category-link:hover {
        background-color: var(--purple-support-color);
    }

    .category-link:focus-visible {
        background-color: var(--link-color-blue);
        color: var(--white);
        border-radius: 4px;
        text-decoration: none;
        outline: 0;
    }

@-moz-document url-prefix() {
    .category-link {
        padding: 0.55rem 1rem 0.4rem 1rem;
    }

        .category-link:focus-visible {
            padding: 0.425rem 0.875rem 0.275rem 0.875rem;
        }
}

.print-div {
    display: flex;
    flex-direction: row-reverse;
    display: flex;
    align-content: center;
}

.print-link::before {
    content: "";
    overflow: hidden;
    display: inline-block;
    background: url('../gfx/Icons/Printer.svg') no-repeat center;
    object-fit: contain;
    width: 1.125rem;
    height: 1.125rem;
    background-size: 1.125rem 1.125rem;
    margin-right: 0.625rem;
}

.print-link {
    margin: 0.625rem 0;
    padding: 0.875rem 1rem;
    border: none;
    background: transparent;
}

.print-link:focus-visible {
    padding: 0.75rem 0.875rem;
}

.contact-content {
    border: 6px solid var(--purple-support-color-1);
    margin-top: 1.375rem;
    border-radius: 4px;
    padding-bottom: 0.5rem;
}

.contact-content h2 {
    padding-left: 1.625rem;
    font-weight: 300;
}
.contact-content > div > div:not(:last-child) .employee-content {
    border-bottom: 1px solid;
    border-color: var(--purple-support-color-2);
}

/* Handle if a blockheader is the first element in contact-content */
.contact-content > div div:first-child div .contact-content-heading{
    margin-top: 0.75rem;
}

/* Make blockheader same styling as header in external-link-block */
.contact-content-heading {
    color: var(--primary-dark-green);
    font-weight: 400;
    font-size: var(--font-size-h3);
    line-height: 1.6875rem;
    margin-bottom: 0.5rem;
}