.container {
    background-color: $color-bg-white;
    flex-direction: column;

    svg {
        color: $color-text-blue-dark;
    }

    svg:hover,
    svg:focus {
        color: $color-link-black;
    }

    > div {
        justify-content: space-between;
        margin: 5px 0 15px;
    }

    dd {
        margin: 14px 0;
    }

    dl {
        margin-bottom: 0;
    }

    dt {
        align-items: flex-end;
        display: flex;
        justify-content: space-between;
        margin: 0 0 5px;
    }

    h2 {
        font-weight: 300;
        font-size: 30px;
        color: $color-text-gray-blue;
    }

    div {
        .metadata-header {
            margin: 14px 0;
        }
    }

    .metadata-header {
        align-items: flex-end;
        display: flex;
        justify-content: space-between;
        font-weight: 700;
    }
}

.edit-metadata-title {
    margin-bottom: 8px;
}

.edit-metadata-description {
    flex-direction: column;

    div {
        display: flex;
        flex-direction: column;
        width: 100%;

        label {
            margin-bottom: 8px;
        }

        textarea {
            height: 125px;
        }
    }
}

.edit-contributors {
    margin-bottom: 8px;

    .fake-label {
        font-weight: bold;
    }
}

.contributor-list {
    flex-direction: column;

    dt {
        margin: 0 5px 0 0;
    }

    dt > a {
        background: $color-bg-white;
        background-image: none;
        border: 1px solid transparent;
        border-radius: 2px;
        font-size: 14px;
    }
}

.resource-type-and-language {
    flex-direction: column;

    div {
        width: 250px;
    }
}

.placeholder {
    color: #555;
}

.resource-select {
    div {
        width: 250px;
    }
}

.subjects {
    dl {
        width: 100%;
    }

    dd > div {
        flex-direction: column-reverse;
    }
}

.funders {
    flex-direction: column;
}

.funder-separator {
    border-bottom: 1px solid $color-border-gray-light;
}

.tags {
    flex-direction: row;

    a {
        background: inherit;
    }

    dd > div {
        width: 100%;
    }

    dl {
        width: 100%;
        margin: 0 0 14px;
    }

    input {
        margin-top: 10px;
    }
}

.resource-edit {
    display: block;

    div {
        display: block;
        width: 250px;
    }

    :global(.ember-basic-dropdown-trigger),
    :global(.ember-power-select-trigger) {
        width: 600px;
    }
}

.resource-edit div {
    display: block;
    margin: 5px 0 15px;

    div {
        max-width: 100%;
    }
}

.institution-select-list {
    padding-bottom: 20px;
}
