@import url('https://openstad-cdn.nl/css/addon.css');

.openstad {
    --nlds-default-background-color: #FAF9F6;
}

/* Overview */

.openstad .osc-resources-filter .multi-select>button,
.openstad .osc-resources-filter .utrecht-select,
.openstad .utrecht-textbox {
    border: 1px solid #868686;
}

.openstad .osc-resource-overview-tabs-container .map-container.osc-map {
    height: 500px;
    aspect-ratio: unset;
}

/* Postcode vraag combineren */

.openstad .osc-resource-overview-content:not(.full) .osc-filter-section .osc-resources-filter.osc-flex-columned {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 0;
}

.openstad .osc-resource-overview-content:not(.full) .osc-resources-filter>div {
    grid-column: 1 / 3;
    z-index: 9;
}

.openstad .osc-resource-overview-content:not(.full) .form-element.postcode-autofill {
    grid-column: 1;
    align-self: start;
}

.openstad .osc-resource-overview-content:not(.full) .form-element.postcode-autofill+.form-element {
    grid-column: 2;
    align-self: start;
    margin-top: 3px;
}

.openstad .osc-resource-overview-content:not(.full) .form-element.postcode-autofill input {
    border-right: 0;
}

.openstad .osc-resources-filter>div.form-element.postcode-autofill+.form-element>label {
    opacity: 0;
    font-size: 20px;
}

.openstad .postcode-autofill .clear-button {
    position: absolute;
    right: -8px;
    width: auto;
    top: 0px;
}


/* Layout veranderingen om actieve filters te verplaatsen */
@media screen and (min-width: 991px) {

    .osc-resource-overview-content:not(.full) {
        grid-template-columns: 140px 140px 4fr auto;
        grid-template-rows: auto auto auto auto auto auto auto auto auto auto auto auto 1fr;
        gap: 1rem 2rem;
    }

    .openstad .osc-resource-overview-content:not(.full) .osc-resource-overview-tabs-container {
        grid-column: 2;
    }

    .openstad .osc-resource-overview-content:not(.full) .osc-filter-section {
        display: grid;
        grid-template-columns: subgrid;
        grid-template-rows: subgrid;
        grid-column: 1 / 5;
        grid-row: 1 / -1;
    }

    .openstad .osc-resource-overview-content:not(.full) .osc-resource-overview-tabs-container {
        grid-column: 1 / 5;
        grid-template-columns: subgrid;
        display: grid;
        grid-template-rows: subgrid;
        grid-row: 1 / -1;
    }

    .openstad .osc-resource-overview-content:not(.full) .osc-resource-overview-tabs-container>div[role=tablist] {
        grid-row: 1;
        grid-column: 3 / 5;
        border-bottom: none;
        column-gap: 1rem;
    }

    .openstad .osc-resource-overview-tabs-container>div[role=tablist]>button[type=button] {
        padding: 0 !important;

    }

    .openstad .osc-resource-overview-content:not(.full) .osc-resource-overview-tabs-container [data-state="active"],
    .openstad .osc-resource-overview-content:not(.full) .osc-resource-overview-tabs-container [data-state="inactive"] {
        grid-column: 3 / 5;
        grid-row: 3 / -1;
    }

    .openstad .active-tags {
        grid-column: 3;
        grid-row: 2;
    }

    .openstad .osc-resource-overview-content:not(.full) .osc-filter-section .osc-resources-filter.osc-flex-columned {
        display: grid;
        grid-template-columns: subgrid;
        grid-template-rows: subgrid;

        column-gap: 0;
        grid-column: 1 / 5;
        grid-row: 1 / -1;
        align-content: start;
    }

    .osc-resource-overview-content:not(.full) .osc-resources-filter.osc-flex-columned .button-group {
        grid-column: 4;
        grid-row: 2;
        align-self: start;

        button {
            width: auto;
            border: 0;
            font-weight: 400;
            padding: 0;
            min-height: 0;
        }
    }

}



.osc-resource-overview-content:not(:has(.active-tags)) {

    .osc-resource-overview-tabs-container [data-state="active"],
    .osc-resource-overview-tabs-container [data-state="inactive"] {
        grid-row: 2 / -1 !important;
        z-index: 3;
    }

    .osc-resources-filter.osc-flex-columned .button-group {
        display: none;
    }
}

.openstad .osc-resource-overview-content:not(.full) .osc-resources-filter>div:has(.multi-select) {
    z-index: 10;
}

.openstad .osc-resource-overview-content:not(.full) .osc-resources-filter>div:has(.multiselect-container--inline) {
    z-index: 9;
}

@media screen and (min-width: 1024px) {
    .osc-resource-overview-content:has(.active-tags) .osc-resource-overview-tabs-container>[data-state="active"] {
        margin-top: -30px;
    }
}

.osc-resource-overview-content:not(.full) .osc-resource-overview-content-date-user {
    grid-column: 2;
    grid-row: 2;
}

.openstad .resource-card--link .osc-resource-overview-content-date-user p {
    font-size: 16px;
    color: #545454;
}


.openstad .osc-resource-overview-content:not(.full) .resource-has-no-images .osc-carousel .carousel-items .image-container,
.openstad .osc-carousel .carousel-items .osc-gridder-resource-detail .resource-has-no-images .image-container,
.osc-resource-overview-content:not(.full) .osc .image-container>img {
    aspect-ratio: 1 / 1;
}

.openstad .osc-resources-filter>div.form-element>label {
    font-size: 20px;
    font-weight: 700;
}

.openstad .osc .multi-select button .icon {
    height: 51px;
    background-color: #157C68;
    margin: -12px;
    width: 51px;
    color: white;
    justify-content: center;
    border-radius: 0;
}

.openstad .osc .multi-select button .icon>i.regular {
    font-size: 28px;
    font-weight: 300;
}

.openstad .osc-resource-overview-content:not(.full) .resource-card--link[data-projectid="48"] {
    display: none;
}

.openstad .resource-card--link[data-projectid="48"].project-card {
    display: grid;
}

.openstad .osc-resource-overview-content:not(.full) .project-card .osc-resource-overview-content-item-footer {
    display: none;
}

.osc-resource-overview-content:not(.full) .osc-resources-filter.osc-flex-columned .button-group {
    order: 2;
}

.osc-resource-overview-content:not(.full) .osc-resource-overview-tabs-container>div[role="tablist"]+div[data-state="inactive"]+div[data-state="active"]:after {
    content: "ⓘ Op deze kaart vindt u geen stadsbrede projecten. Bekijk daarvoor de lijstweergave";
}

.osc-resource-overview-content:not(.full) .spacer-1 {
    display: none;
}

.osc-resource-overview-content:not(.full) .spacer-0-5 {
    display: none;
}

.osc-resource-overview-content:not(.full) .osc-resource-overview-resource-collection {
    grid-template-columns: 1fr;
    align-content: baseline;
}

.openstad .osc-filter-section .osc-resources-filter.osc-flex-columned {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}


@media screen and (max-width: 767px) {

    html .osc-resource-overview-content:not(.full) {
        grid-template-columns: 1fr;
    }

    html .osc-resource-overview-content:not(.full) .osc-resource-overview-tabs-container {
        grid-column: 1;
    }

    html .osc-resource-overview-content:not(.full) .resource-card--link {
        grid-template-columns: 1fr;
    }

    html .osc-resource-overview-content:not(.full) .resource-card--link>div:nth-child(2) {
        grid-column: 1;
        grid-row: unset;
    }

    html .openstad .osc-resource-overview-content-item-footer {
        grid-column: 1;
        grid-row: unset;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    html .osc-resource-overview-content:not(.full) .osc-resource-overview-tabs-container {
        grid-column: 1;
    }

    html .osc-resource-overview-content:not(.full) {
        grid-template-columns: 1fr;
    }
}

.osc-resource-overview-content:not(.full) .resource-card--link h4.utrecht-heading-4 a {
    font-size: 1.33rem;
}

.osc-resource-overview-content:not(.full) .resource-card--link {
    display: grid;
    grid-template-columns: 2fr 4fr;
    grid-template-rows: auto auto auto;
    gap: 1.25em;
    align-content: baseline;
    padding-bottom: 1.666rem;
    border-bottom: 1px solid #868686;
}

/* .osc-resource-overview-content:not(.full) {
    grid-template-columns: 1fr 2fr;
} */

@media screen and (min-width: 768px) {
    .openstad .osc-filter-section .osc-resources-filter.osc-flex-columned {
        flex-direction: column;
    }
}

@media only screen and (min-width: 991px) and (max-width: 1360px) {
    .openstad .osc-filter-section .osc-resources-filter.osc-flex-columned {
        flex-direction: column;
    }

    .openstad .osc-filter-section {
        grid-column: unset;
    }

    .openstad .osc-resource-overview-content {
        gap: 2rem;
    }
}

.openstad .osc-resource-overview-content:not(.full) .resource-card--link .osc-carousel {
    justify-content: center;
    align-items: center;
    grid-column: 1;
    grid-row: 1 / -1;
    max-width: 280px;
}

.openstad .osc-resource-overview-content-item-footer {
    grid-column: 2;
    grid-row: 3;
    align-items: flex-end;
}

.openstad .osc .image-container {
    overflow: visible;
    background: transparent;
}


.openstad .osc-resource-overview-content.full .osc-resource-overview-resource-collection {
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)) !important;
}

.openstad .full .resource-card--link {
    display: grid;
    grid-template-columns: 1fr !important;
}

.openstad .full .osc-carousel {
    grid-row: auto;
}

.openstad .full .osc-resource-overview-content-item-footer {
    grid-column: 1;
    order: 3;
    grid-row: auto;
    padding: 0 1.5rem 1.5rem;
}

.openstad .osc .icon>i.big {
    font-size: 18px;
    font-weight: 400;
}

.skip-link.utrecht-button-link--primary-action:focus {
    color: white;
}

html .skip-link.utrecht-button-link--primary-action:hover {
    color: white;
}

.osc-filter-section {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
}

.openstad .osc-resources-filter>div.form-element.postcode-autofill>label {
    font-size: 0;
    line-height: 0;
}

.openstad .form-element.postcode-autofill>label:after {
    font-size: 1.25rem !important;
    line-height: 24px;
    content: 'Postcode en afstand' !important;
    font-weight: 700;
    width: 200%;
    display: block;
}

.osc-resource-overview-content:not(.full) .osc-resource-overview-resource-collection {
    gap: 1.666rem;
}













/* Apostrophe expansions */

.featured-ideas.section.--solid {
    background-color: transparent !important;
}

.openstad .full .resource-card--link {
    border: 1px solid #ddd;
    border-radius: 6px;
}

.openstad .full .osc-carousel {
    margin-bottom: 1rem;
}

.openstad .full .spacer-0-5 {
    display: none;
}


[data-apos-level] .tiles-steps .icon-section {
    background-color: white;
}

.tiles-steps .icon-section-content *,
.featured-projects .icon-section-content * {
    text-align: left;
}

.tiles-steps .icon-section .icon-section-card img {
    background-color: transparent;
    padding: 25px;
    align-self: flex-start;
    overflow: visible;
}

.tiles-steps article.icon-section-card {
    box-shadow: 2px 5px 25px #0001;
}

.tiles-steps .icon-section .icon-section-content {
    padding: 0 1.5rem 1.5rem;
}

.tiles-steps .icon-section .icon-section-content h3 {
    font-size: 1.33rem;
    font-family: "Source sans 3", sans-serif !important;
    font-weight: 500;
}

.featured-projects .icon-section .icon-section-card img {
    width: 100%;
    height: unset;
    aspect-ratio: 5 / 3;
    object-fit: cover;
    object-position: center center;
    background-color: transparent;
    padding: 0;
    align-self: left;
    overflow: hidden;
    border-radius: 0;
}

[data-apos-level] .icon-section-container {
    padding-block: 2rem 3rem;
}

.featured-projects .icon-section-content {
    padding: 0;
    margin-top: 2rem;
}

.featured-projects.custom-label .icon-section-content>h3 {
    order: 2;
}

.featured-projects.custom-label .icon-section-content>p {
    order: 3;
}

.featured-projects.custom-label .icon-section-content>div {
    order: 1;
}

.featured-projects .icon-section .icon-section-content a:before {
    display: none;
}

.featured-projects.custom-label .icon-section-content>div>a {
    background-color: #DAEBDF;
    color: #1E7D38;
    border-radius: 0.25rem;
    padding: 6px 10px;
    text-decoration: none;
    opacity: 1;
}

.featured-projects .icon-section-content>div>a {
    opacity: 0;
}

.section [data-custom-class="eyebrow"] h4.utrecht-heading-4 {
    font-family: "Source sans 3", sans-serif !important;
    font-weight: 400;
    font-size: 1rem;
    color: #A80A2D;
}

.featured-projects .icon-section-content>div>a:after {
    content: "";
    position: absolute;
    bottom: 0;
    display: block;
    color: transparent;
    top: 0;
    left: 0;
    right: 0;
}

.featured-projects article.icon-section-card {
    position: relative;
}

.featured-projects article.icon-section-card:after {
    content: '\EA6C';
    color: black;
    margin-right: 0;
    font-family: 'remixicon';
    display: block;
    text-align: end;
    font-size: 1.5rem;
    font-weight: 400;
    transition: 0.2s;
}

.featured-projects article.icon-section-card:hover:after {
    margin-right: -10px;
}

.--breadcrumbs [data-openstad-button] {
    margin-top: 0;
}

.section.--solid.--breadcrumbs {
    padding: 0;
}

[data-apos-level] .--breadcrumbs .utrecht-button-link--subtle {
    font-family: "Source Sans 3", sans-serif !important;
    padding: 0.5rem 0.5rem;
    font-size: 1rem;
}

.--breadcrumbs .utrecht-button-link--subtle::after {
    display: none;
}

[data-apos-level] .--breadcrumbs .utrecht-button-link--subtle:nth-last-child(n+2)::after {
    display: inline-block;
    content: "/";
    padding-left: 0.5rem;
}

[data-apos-level] .--breadcrumbs .utrecht-button-group--row {
    gap: 0;
}

.--howitworks.section>.container>.row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 680px;
}

.--howitworks.section>.container>.row>.col-sm-3 {
    width: 100%;
    padding: 0.5rem 3rem 2rem 4rem;
    margin: 0;
    background-color: #FAF9F6;
    position: relative;
}

.--howitworks.section>.container>.row>.col-sm-3:before {
    content: '◯';
    position: relative;
    left: -36px;
    top: 36px;
    font-size: 24px;
}

.--howitworks.section>.container>.row>.col-sm-3:not(:last-child) .apos-area:after {
    content: '';
    height: calc(100% - 9px);
    width: 2px;
    background-color: black;
    position: absolute;
    top: 75px;
    left: 37.5px;
    display: block;
    z-index: 99;
}

html [data-apos-level] #navbar .container #main-menu {
    min-height: unset;
}

.--header-red .utrecht-link:any-link {
    color: #fff;
    text-decoration-color: #fff;
}

.openstad .bgColor-EC673E,
.openstad .bgColor-4682B4 {
    background-color: unset;
}

@media only screen and (max-width: 786px) {
    .image-component.--xlarge {
        --image-height: 15rem;
    }
}

/* MijnWijkplan hoofdmenu */


.--compact .cta-buttons .utrecht-button-link--html-a {
    background-color: var(--_utrecht-button-focus-background-color);
    border-color: var(--_utrecht-button-focus-border-color);
    color: var(--_utrecht-button-focus-color);
    scale: var(--utrecht-button-focus-scale, 1);
    padding: 0.25rem 0;
    align-items: center;
    font-size: 1rem;
}

.--compact .cta-buttons .utrecht-button-link--html-a:last-child:before {
    content: " \ECAF";
    font-family: 'remixicon' !important;
}

.--compact .cta-buttons {
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

header.--compact .utrecht-button-link--html-a:hover {
    color: var(--nlds-main-menu-item-color--hover, var(--utrecht-link-hover-color));
    border-color: transparent !important;
}

#navbar .container #main-menu .level-1 {
    padding: 0.2rem 0;
    align-self: center;
    display: flex;
}

#navbar .container #main-menu .level-1:hover {
    border-color: transparent !important;

}

header.--compact .utrecht-button-link--html-a:after,
header.--compact .item-container:after {
    content: '';
    position: absolute;
    bottom: 0.5px;
    left: 0;
    width: 0;
    height: 2px;
    display: block;
    background-color: var(--nlds-main-menu-item-color--hover, var(--utrecht-link-hover-color));
    transition: 0.15s ease;
}

header.--compact .item-container:after {
    bottom: -8px;
}

header.--compact .utrecht-button-link--html-a:hover:after,
header.--compact .item-container:hover:after {
    width: 100%;
}

#navbar .container #main-menu {
    gap: 1rem;
    margin-right: 0.75rem;
}

.header-top-bar {
    margin: 0;
    border-bottom: transparent;
}

.header-top-bar a {
    background-color: var(--_utrecht-button-focus-background-color);
    border-color: var(--_utrecht-button-focus-border-color);
    color: var(--_utrecht-button-focus-color);
    scale: var(--utrecht-button-focus-scale, 1);
    padding: 0.6rem 0;
    align-items: center;
    font-size: 1rem;
    text-decoration: none;
    width: max-content;
}

.header-top-bar a:before {
    content: '';
    position: absolute;
    bottom: 0.5px;
    left: 0;
    width: 0;
    height: 2px;
    display: block;
    background-color: var(--nlds-main-menu-item-color--hover, var(--utrecht-link-hover-color));
    transition: 0.15s ease;
}

.header-top-bar a:hover:before {
    width: 100%;
}

.header-top-bar a:hover {
    color: #0e6150;
}

.topmenu-dynamic-container a:after {
    content: " \ECAF";
    font-family: 'remixicon' !important;
    line-height: 1;
}

.header-top-bar .container {
    display: flex;
    justify-content: end;
    align-items: center;
    height: 100%;
    padding: 0;
    gap: 1rem;
}

@media screen and (min-width: 768px) {
    .header-top-bar .container::before {
        content: '';
        display: block;
        width: 1px;
        background-color: black;
        height: 26px;
        left: 0;
        top: 10px;
        position: absolute;
    }
}

.header-top-bar .container .topmenu-dynamic-container {
    padding: 0 0 0 0.75rem;
}


[data-apos-level] header.--compact {
    box-shadow: none;
    margin-bottom: 0;
    z-index: 1;
    display: flex;
    flex-direction: row-reverse;
    max-width: 1140px;
    margin: 1rem auto;
    padding: 0 0.75rem 0 0;
}

[data-apos-level] header .container {
    max-width: unset;
}

/* Mobiele fixes */
@media screen and (max-width: 767px) {
    [data-apos-level] header.--compact {
        flex-direction: column;
    }

    .header-top-bar .container .topmenu-dynamic-container {
        border-color: transparent;
        padding: 0 0 0 0.75rem;
    }

    header.--compact .utrecht-button-link--html-a:hover:after,
    header.--compact .item-container:hover:after {
        width: 100%;
    }

    /* header.--compact .item-container::after {
        bottom: 0px;
    } */
    #navbar .container #main-menu .item-container {
        margin-bottom: 2rem;
        font-size: 1.25rem;
    }
}









/* ==== Resource Detail ==== */
/* Like button */

button.utrecht-button.utrecht-button--primary-action.like-option.selected.osc-no-counter {
    background-color: #123f36;
    outline: #30a08b 3px solid;
    color: #fff;
}

.openstad .utrecht-button:focus:not(:disabled, [aria-disabled=true], .utrecht-button--disabled) {
    background-color: #0e6150;
    color: #fff;
}

.openstad .active-tags {
    margin-bottom: 1rem;
    margin-top: 0;
}

.openstad .active-tags ul {
    flex-direction: row;
}

.openstad .active-tags ul li {
    background: #faf9f6;
    width: fit-content;
    border: 1px solid #147562;
    padding: 6px 0 6px 16px;
    border-radius: 50px;
    color: #147562;
}

.openstad .progressbar-container {
    display: none;
}

.openstad h2.utrecht-heading-4 {
    color: black;
}

.openstad .utrecht-link-social {
    background-color: #157c68;
}

.openstad .pill-grid .osc-pill {
    background-color: transparent;
    padding: 0;
}

.openstad .pill-grid .osc-pill p {
    color: #0066CB;
    font-size: 18px;
    font-weight: 700;
    background-color: #E8F2FB;
    padding: 2px 4px;
    width: fit-content;
    margin: 0;
}


.openstad .comment-item {
    padding: 0;
    background-color: transparent;
}

.openstad .osc .comment-item .comment-item-header {
    z-index: 3;
}

.openstad .comment-item .reaction-name {
    font-weight: 400;
    font-size: 18px;
}

.openstad .comment-item-header {
    align-items: baseline;
    flex-direction: row;
}

.openstad .comment-reaction-text {
    white-space: break-spaces;
}

.openstad .comment-item .reaction-container {
    border-left: 2px solid #D9D9D9;
    padding-left: 2rem;
    margin-top: 2rem;
}

.openstad .comment-item .reaction-container .comment-item {
    border-top: none;
}

.openstad .osc article.comment-item.selected {
    background: transparent;
}

.openstad .osc>.comment-item {
    margin-bottom: 2rem;
}

.openstad .comment-item .comment-reaction-strong-text {
    color: #5C5C5C;
}

.openstad .comment-item .comment-item-footer .utrecht-button-group .utrecht-button {
    background-color: white;
    color: black;
    padding: 0;
    min-width: 0;
    min-height: 0;
    border: none;
    font-size: 0;
}

.openstad .comment-item .utrecht-button-group .utrecht-button.utrecht-button--primary-action:before {
    font-size: 1rem;
    content: '\EF44';
    font-family: 'remixicon';

}

.openstad .comment-item .utrecht-button-group .utrecht-button span,
.openstad .comment-item .utrecht-button-group .utrecht-button i {
    font-size: 1.125rem;
    margin-right: 4px;
}

.openstad .comment-item+.comment-item {
    margin-top: 1rem;
    border-top: 1px solid black;
    padding-top: 1rem;
}

.openstad .DropdownMenuContent p {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
}

.openstad .DropdownMenuContent p button {
    padding: 20px;
    color: black;
    font-size: 18px;
}


/* Detailpagina layout */

.openstad .resource-detail-side-column .aside--content {
    background-color: transparent;
    z-index: 2;
}

.openstad .resource-detail-side-section {
    padding: 0;
    border-bottom: 1px solid #868686;
}

.openstad:has(.like-option-container) section.osc-resource-detail-content.osc-resource-detail-content--span-2,
.openstad:has(.like-option-container) .osc-resource-detail-widget-container .resource-detail-side-column,
.openstad:has(.like-option-container) .osc-resource-detail-widget-container .resource-detail-side-column .aside--content,
.openstad:has(.like-option-container) .osc-resource-detail-content .osc-resource-detail-content-items {
    grid-template-columns: subgrid;
    grid-template-rows: subgrid;
    display: grid;
}

.openstad .osc-resource-detail-content-item-row {
    background-color: transparent;
    padding: 1.5rem 0;
    margin: 0 0.5rem;
    border-bottom: 1px solid black;
    border-radius: 0;
}

.openstad .osc-resource-detail-content-item-row h2 {
    font-size: 20px;
}

.openstad .osc-resource-detail-content-items .map-container.osc-map {
    height: 280px;
    width: 100%;
    aspect-ratio: unset;
    padding: 0 0.5rem 0;
}

.openstad .question.question-type-none.-- {
    background-color: #faf9f6;
}

.openstad .osc-resource-form-item-content {
    margin: 1rem 0;
}

.openstad .question.question-type-none .info-field-title,
.openstad .question.question-type-none .info-field-title strong {
    font-size: 1.5rem;
    font-family: 'Oranda', serif;
}

.openstad .osc-resource-detail-content-items>h2 {
    font-size: 20px;
    padding: 1rem 0.5rem 0;
}

.openstad .osc-resource-detail-widget-container>.utrecht-button-group:empty {
    display: none;
}

.openstad .osc-resource-detail-column-container {
    grid-template-columns: 1fr;
}

.openstad .resource-detail-modbreak-banner {
    height: fit-content;
    border: 2px solid #eee;
    padding: 2rem;
}

.openstad .resource-detail-modbreak-banner>section {
    flex-direction: row;
}

.openstad .resource-detail-modbreak-banner .utrecht-heading-6 {
    font-weight: 400;
    font-size: 18px;
}

.openstad .document-download-container h2 {
    font-size: 20px;
}

.openstad .document-download-container {
    background: transparent;
    padding: 0;
    display: grid;
    gap: 6px;
}

@media screen and (min-width: 668px) {

    .openstad:has(.like-option-container) section.osc-resource-detail-content.osc-resource-detail-content--span-2,
    .openstad:has(.like-option-container) .osc-resource-detail-content .osc-resource-detail-content-items {
        grid-row: 1 / -1;
        grid-column: 1 / 3;
    }

    .openstad:has(.like-option-container) .osc-resource-detail-widget-container .resource-detail-side-column,
    .openstad:has(.like-option-container) .osc-resource-detail-widget-container .resource-detail-side-column .aside--content {
        grid-row: 1 / -1;
        grid-column: 2;
    }

    .openstad:has(.like-option-container) .osc-resource-detail-widget-container .resource-detail-side-column .aside--content:nth-child(2) {
        grid-row: -1;
    }

    .openstad:has(.like-option-container) .osc-resource-detail-column-container {
        grid-template-columns: 2fr 1fr;
        grid-template-rows: auto auto auto auto auto auto auto;
    }

    .openstad:has(.like-option-container) .osc-resource-detail-content-item-row {
        grid-column: 2;
        grid-row: 3;
    }

    .openstad:has(.like-option-container) .osc-resource-detail-content-items .map-container.osc-map {
        grid-column: 2;
        grid-row: 5 / 7;
    }

    .openstad:has(.like-option-container) .osc-resource-detail-content-items>h2 {
        grid-column: 2;
        grid-row: 4;
    }

    .openstad:has(.like-option-container) .resource-detail-content {
        grid-column: 1;
        grid-row: 4 / 6;
    }

    .openstad:has(.like-option-container) .osc-resource-detail-column-container .osc-carousel {
        grid-column: 1;
        grid-row: 1 / 4;
        align-items: start;
    }

    .openstad:has(.like-option-container) .resource-detail-modbreak-banner {
        grid-column: 1;
        grid-row: 6 / 8;
    }
}

@media screen and (max-width: 1023px) and (min-width: 668px) {
    .openstad:has(.like-option-container) .resource-detail-content {
        grid-column: 1;
        grid-row: 3 / -1;
    }

    .openstad:has(.like-option-container) .osc-resource-detail-column-container .osc-carousel {
        grid-column: 1;
        grid-row: 1 / 3;
    }

    .openstad .utrecht-link-social {
        inline-size: 34px;
        block-size: 34px;
    }
}

@media screen and (max-width: 667px) {
    .openstad .resource-detail-modbreak-banner {
        order: 1;
        margin: 1rem 0;
    }


}

.openstad .osc-resource-detail-widget-container>.utrecht-button-group {
    padding: 1rem 0;
}

.openstad .spacer-1 {
    display: none;
}

/* Specifiek voor project detailpagina */

.openstad .resource-detail-content:has(+ .osc) {
    order: -1;
}

.openstad .osc-resource-detail-content-items>.osc {
    order: -1;
    margin-block: 1.5rem;
}

.openstad .osc-resource-detail-content-items:has(> .osc) .resource-detail-modbreak-banner {
    order: +3;
}

.openstad .osc-resource-detail-content-items .osc .utrecht-heading-3 {
    font-size: 0;
}

.openstad .osc-resource-detail-content-items .osc .utrecht-heading-3:before {
    font-size: 20px;
    content: 'Project tijdlijn';
}


/* Like button update */

.openstad .utrecht-button.like-option {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: auto auto auto;
    align-items: baseline;
    column-gap: 0.5rem;
    justify-content: flex-start;
    background-color: transparent;
    color: #545454;
    padding: 0;
    font-weight: 400;
}

.openstad .utrecht-button.like-option:hover,
.openstad .utrecht-button.like-option:focus {
    scale: 1 !important;
    background-color: transparent;
    color: #545454;
}


.openstad .like-option:hover .like-kind i {
    background-color: #0E5345;
    color: white;
}

.openstad .like-option.selected .like-kind i {
    background-color: #157C68;
    color: white;
}

.openstad .like-option.selected .like-kind i:before {
    content: '\EB7B';
}

.openstad .like-option .like-kind i:before {
    content: '\F206';
}

.openstad .like-option .like-kind i.ri-thumb-down-line:before {
    content: '\F204';
}

.openstad .like-option-container .like-kind i {
    grid-column: 1;
    background-color: white;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    color: #545454;
    align-content: center;
    font-size: 18px;

}

.openstad .like-option-container .like-counter {
    grid-column: 2;
}

.openstad .like-option-container .like-option.selected .like-counter {
    color: #157C68;
    font-weight: 600;
}

.openstad .like-option-container .like-kind {
    grid-column: 3;
    display: contents;
    font-size: 0;
}

.openstad .like-option-container .like-option.selected .like-kind {
    font-size: 18px;
    font-weight: 600;
}




.openstad .resource-detail-comments-container {
    max-width: 750px;
}




/* Themes/tags for statusses */

.openstad .pill-grid [data-text="wordt uitgewerkt"] p,
.openstad .pill-grid [data-text="reageren gesloten"] p,
.openstad .pill-grid [data-text="Reageren gesloten"] p {
    background-color: #FFEEE1;
    color: #914C1B;
}

.openstad .pill-grid [data-text="afgerond"] p,
.openstad .pill-grid [data-text="Afgerond"] p {
    background-color: #FBEEEE;
    color: #B91D22;
}

.openstad .pill-grid [data-text="niet haalbaar"] p {
    background-color: #6B5F5A;
    color: white;
}

.openstad .pill-grid [data-text="klaar"] p,
.openstad .pill-grid [data-text="reageren mogelijk"] p,
.openstad .pill-grid [data-text="Reageren mogelijk"] p {
    background-color: #EAF3EC;
    color: #1C7836;
}

.openstad .pill-grid [data-text="gemeente nijmegen"] {
    order: 4;
}

.openstad .pill-grid [data-text="gemeente nijmegen"] p {
    background-color: transparent;
    color: black;
    font-weight: 400;
    font-size: 1rem;
    padding: 0;
}

.openstad .pill-grid [data-text="gemeente nijmegen"] p:before {
    content: 'Initiatief van: ';
}

.openstad .pill-grid:has([data-text="gemeente nijmegen"]) {
    flex-direction: column;
}

.openstad .leaflet-control-zoom {
    display: flex;
    flex-direction: column;
}



@media (max-width: 1366px) {
    .openstad .osc-resource-detail-column-container {
        display: grid;
    }
}

/* Fix voor Bootstrap image hiding */

.openstad .carousel-item {
    display: block;
}

/* Fix voor new-tab vinkje die niet toont in tijdlijn vraag */

.openstad .timeline-link-newtab input {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
    position: relative;
    opacity: 1;
}



/* .openstad .question-type-timeline .timeline-item-row {
    display: grid;
    grid-template-columns: 1fr auto;
} */


/* Project details maatwerk widget */

p.utrecht-paragraph.location {
    display: block;
}

p.utrecht-paragraph.location.--completed {
    display: none;
}

p.utrecht-paragraph.location[data-locations="Nijmegen-Noord, Nijmegen-Centrum, Nijmegen-Oost, Nijmegen-Midden, Nijmegen-Zuid, Nijmegen-Nieuw-West, Nijmegen-Oud-West, Dukenburg, Lindenholt"] {
    display: none;
}

p.location.--completed[data-locations="Nijmegen-Noord, Nijmegen-Centrum, Nijmegen-Oost, Nijmegen-Midden, Nijmegen-Zuid, Nijmegen-Nieuw-West, Nijmegen-Oud-West, Dukenburg, Lindenholt"] {
    display: block;
}


.openstad .osc .comments-title:has(+.banner button) {
    display: block;
}

.openstad .osc .comments-title:has(+.banner) {
    display: none;
}

.openstad .osc .banner>p {
    margin: 1rem;
}

/* .osc-carousel + .resource-detail-modbreak-banner  { display: none; } */

html .openstad .osc-resource-overview-content:not(.full) .resource-card--link[data-projectid="48"] {
    display: grid;
}

.resource-detail-side-column {
    pointer-events: none;
}

.like-widget-container,
.share-links,
.document-download-container {
    pointer-events: all;
}

.openstad .--isAdmin,
.openstad .--isEditor {
    color: #157c68;
    font-size: 18px;
    padding-left: 5px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: capitalize;
}

.project-maxwidth>.container {
    max-width: 768px;
}


.openstad .osc-resource-detail-content-items.project-detail-container .project-details {
    padding: 2rem;
    background-color: #F3F3F3;
    position: relative;
}

.project-image-featured {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.openstad .osc-resource-detail-content-items.project-detail-container .project-details {
    display: grid;
    gap: .5rem;
}

@media screen and (max-width: 767px) {
    .openstad .osc-resource-detail-content-items.project-detail-container .project-details .project-logo {
        position: static;
        order: -1;
    }
}

.openstad .osc-resource-detail-content-items.project-detail-container .project-logo {
    width: 200px;
    height: 80px;
    object-fit: contain;
    position: absolute;
    right: 12px;
    top: 12px;
}

.openstad .osc-resource-detail-content-items.project-detail-container .project-logo+.project-logo {
    display: none;
}

.openstad .osc-resource-detail-content-items.project-detail-container .project-logo.initiatiefnemer {
    display: none !important;
}

.utrecht-paragraph.location:before {
    content: '\EF14 ';
    font-family: remixicon !important;
}

.openstad .project-details .osc-pill {
    width: fit-content;
}

.openstad .username[data-initiatiefnemer="Project van gemeente Nijmegen"],
.openstad .general[data-initiatiefnemer="Initiatiefnemer"] {
    display: none;
}

.openstad .osc-resource-overview-resource-collection .utrecht-paragraph {
    word-break: break-word;
}

/* Fix responsive layout op nijmegen.nl */
@media screen and (max-width: 1200px) and (min-width:1024px) {
  .frame.base_openstad.layout-8 {
    margin-left: 0;
margin-right: 0;
	}
}

@media screen and (max-width: 1366px) and (min-width:991px) {
.frame.base_openstad.layout-9 {
        margin-left: -8rem;
        margin-right: -8rem;
}
}

/* _____ */