.course-search-wrapper {
    position: relative;
    z-index: 2;
    width: 50%;
    max-width: 760px;
    margin: -260px 0 0;
    padding: 0.75rem 1.5rem;
    background: #fff;
    border-radius: var(--umbraco-border-radius);
}

.course-search {
    .course-search__title {
        margin: 0 0 0.5rem;
        font-size: 24px;
        line-height: 1.2;
        font-weight: 800;
    }

    .course-search__controls {
        position: relative;
        display: flex;
        align-items: stretch;
        width: 100%;

        .course-search__label {
            display: none;
        }

        .course-search__input {
            flex: 1 1 auto;
            min-width: 0;
            height: 44px;
            padding: 0 12px;

            background: #fff;
            border: 1px solid #ced4da;
            border-radius: var(--umbraco-input-border-radius);
            border-top-right-radius: 0;
            border-bottom-right-radius: 0;

            appearance: none;
            transition:
                border-color 0.15s ease-in-out,
                box-shadow 0.15s ease-in-out;

            &:focus {
                color: #212529;
                background-color: #fff;
                border-color: #86b7fe;
                outline: 0;
                box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
            }
        }

        .course-search__button {
            min-width: 120px;
            margin-left: -1px;
            padding: 0 18px;

            color: #fff;
            font-size: 17px;
            font-weight: 800;
            text-align: center;
            cursor: pointer;

            border: 1px solid var(--umbraco-body-secondary-color);
            border-radius: var(--umbraco-input-border-radius);
            border-top-left-radius: 0;
            border-bottom-left-radius: 0;

            background-color: var(--umbraco-body-primary-color);

            transition:
                color 0.15s ease-in-out,
                background-color 0.15s ease-in-out,
                border-color 0.15s ease-in-out;

            &:hover {
                color: #fff;
                background-color: var(--umbraco-body-secondary-color);
                border-color: #565e64;
            }
        }
    }

    .course-search__popular {
        margin-top: 0.5rem;
        color: #000;
    }
}

.course-search__all {
    display: block;
    margin-top: 8px;
    color: var(--umbraco-body-primary-color);
    font-size: 14px;
    text-align: right;
    text-decoration: none;

    &:hover {
        text-decoration: underline;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1100px) {
    .course-search-wrapper {
        width: 60%;
        max-width: 760px;
        margin-top: -220px;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 40px;
        padding: 0.75rem 1.25rem;
    }

    .course-search {
        .course-search__title {
            font-size: 22px;
        }

        .course-search__controls {
            .course-search__input {
                height: 42px;
            }

            .course-search__button {
                min-width: 110px;
                padding: 0 14px;
                font-size: 16px;
            }
        }
    }
}

/* Mobiel */
@media (max-width: 768px) {
    .course-search-wrapper {
        width: calc(100% - 2rem);
        max-width: none;
        margin-top: -210px;
        margin-left: 0;
        margin-right: 0;
        padding: 0.75rem 1rem;
    }

    .course-search {
        .course-search__title {
            font-size: 21px;
        }

        .course-search__controls {
            .course-search__input {
                height: 42px;
            }

            .course-search__button {
                min-width: 90px;
                padding: 0 10px;
                font-size: 14px;
            }
        }
    }

    .course-search__all {
        font-size: 12px;
    }
}