/*----------------------------------------------------------
    GENERAL
----------------------------------------------------------*/

.overview-funding-cost-item,
.overview-funding-financing-proceeds-item,
.overview-funding-financing-grants-to-legal-entities-item {
    padding: .75em 0;
    border-top: 1px solid var(--color-grey);
}

.overview-funding-cost-item label,
.overview-funding-financing-proceeds-item label,
.overview-funding-financing-grants-to-legal-entities-item label {
    padding: 0;
}

.overview-container .accordion-subtitle {
    font-weight: 700;
    font-size: 1.25em;
    margin: 1em 0 .5em;
    position: relative;
}

/* Edit Profile */

.process-profile-editing-wrapper {
    margin-top: 2rem;
}

/*----------------------------------------------------------
    SUCCESS PAGE
----------------------------------------------------------*/

.success-animation {
    padding-top: 80%;
    background-image: url(../Images/success-animation.gif);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.success-container .col-7 {
    padding-left: 3em;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.success-page-btn {
    margin-top: 1em;
}

/*----------------------------------------------------------
    ACCORDION
----------------------------------------------------------*/

.overview-container .funding-main-title-wrapper,
.overview-container .accordion-subtitle-wrapper.sub-accordion-label,
.overview-event-item:not(.hidden) {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-grey);
}

.overview-container .funding-cost-main-amount,
.overview-container .funding-financing-main-amount {
    padding-right: 3em;
    font-size: 1em;
    font-weight: 700;
    margin: 1.4em 0 .75em;
    opacity: .8;
    text-decoration: underline;
}

.overview-container .funding-cost-section-amount,
.overview-container .funding-financing-section-amount {
    padding-right: 3em;
    font-size: 1em;
    font-weight: 700;
    margin: .75em 0;
    opacity: .3;
}

.overview-container .funding-cost-section-details.sub-accordion-content {
    padding: 0em 0 1em;
}

.overview-container .accordion-subtitle.section-title {
    font-size: 1em;
    margin: .75em 0;
}

.overview-container .accordion-subtitle-wrapper.sub-accordion-label.is-open {
    border-bottom-color: transparent;
}

.overview-container .accordion-subtitle-wrapper.sub-accordion-label:not(.is-open):hover {
    background-color: var(--color-grey-light);
}

.funding-cost-section-details.sub-accordion-content label {
    font-weight: 400;
}

.funding-financing-section-details.sub-accordion-content label {
    font-weight: 400;
    padding: 0;
}

.overview-container .overview-funding-cost-item:first-child, 
.overview-container .overview-funding-financing-proceeds-item:first-child, 
.overview-container .overview-funding-financing-grants-to-legal-entities-item:first-child {
    border-top-color: transparent;
}

.overview-container :not(span).funding-financing-section-own-share .own-share-single-overview,
.overview-container :not(span).funding-financing-funding-requested {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-grey);
}

.logged-in .overview-container .funding-financing-section-own-share .own-share-single-overview .form-row,
.logged-in .overview-container .funding-financing-funding-requested .form-row {
    margin-top: 0;
    padding: 0.75em 0;
}

:is(.overview-funding-financing-services-provided-private-item) :is(label, span) {
    margin: 0;
    padding: .75em 0;
    display: block;
}

/* Events + Description */

:is(.overview-section-project-event, .overview-section-project-description) .accordion-subtitle.sub-accordion-label {
    cursor: pointer;
}

:is(.overview-section-project-event, .overview-section-project-description) .accordion-subtitle.sub-accordion-label:after,
.overview-event-item .sub-accordion-label:after {
    display: block;
    content: '';
    width: 2em;
    height: 100%;
    position: absolute;
    right: -.5em;
    top: 0;
    transform: rotate(0deg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17.861' height='9.931' viewBox='0 0 17.861 9.931'%3E%3Cpath id='Pfad_4' data-name='Pfad 4' d='M-1180.831,346.174l7.516,7.516,7.516-7.516' transform='translate(1182.245 -344.759)' fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform ease-in-out .3s;
}

.overview-event-item .sub-accordion-label:after {
    height: 3em;
}

:is(.overview-section-project-event, .overview-section-project-description) .accordion-subtitle.sub-accordion-label.is-open:after,
.overview-event-item .sub-accordion-label.is-open:after {
    transform: rotate(180deg);
}


.overview-event-item .sub-accordion-label {
    font-size: 1em;
    padding: .75em 0;
    font-weight: 700;
    width: 100%;
}

.overview-event-item .sub-accordion-label:hover {
    background-color: var(--color-grey-light)
}

.overview-event-item .sub-accordion-label.is-open:hover {
    background-color: transparent;
}

.overview-event-item:not(.hidden) {
    flex-direction: column;
    align-items: start;
}

.overview-container .Accordion-panel .overview-event-item label {
    font-weight: 700;
}

.sub-accordion-content {
    width: 100%;
    padding-bottom: 2rem;
}

.funding-cost-section-details.sub-accordion-content label {
    font-weight: 400;
}

.overview-section-project-description p:first-child {
    margin-top: 0;
}