﻿#container .loader {
    display: block;
}

.courses-filter {
    position: relative;
}

    .courses-filter .filter-form-wrapper {
        background: linear-gradient(342.79deg, rgba(237, 238, 249, 0.7) -2.64%, rgba(242, 249, 252, 0.7) 105.1%);
        border-radius: 15px;
        padding: 30px;
        max-width: none;
        margin-bottom: 50px;
    }

        .courses-filter .filter-form-wrapper form {
            display: flex;
            justify-content: space-between;
        }

    .courses-filter .filters-set {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: calc(100% - 198px);
    }

    .courses-filter .filter-input-wrapper {
        display: block;
        margin-right: 0;
        margin-bottom: 0;
        width: 48.7%;
    }

    .courses-filter .filter-input {
        min-width: 0;
        width: 100%;
        max-width: 444px;
        height: 44px;
        border: 1px solid #E6E6E6;
        border-radius: 5px;
        background: white;
    }

    .courses-filter .filter-button {
        margin: 0;
        padding: 11px 10px;
        width: 198px;
        display: flex !important;
        justify-content: center;
        align-items: center;
        background: #4296E9;
        border-radius: 5px;
        font-weight: 600;
        font-size: 16px;
        text-transform: none;
        width: 198px;
        height: 44px;
    }

        .courses-filter .filter-button:disabled {
            background: gray;
        }

        .courses-filter .filter-button:hover {
            background: #004677;
        }

.page .filter-button::after {
    display: block;
    content: "";
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    background: url("img/right-small.png") center center no-repeat;
    margin-left: 10px;
}


.courses-filter .filter-buttons-wrapper {
    align-items: flex-end;
    margin-left: 22px;
}


.courses-filter label {
    font-weight: 400;
    font-size: 15px;
    color: black;
    display: inline-block;
    margin-bottom: 8px;
}

@media (max-width: 792px) {
    .courses-filter .filter-form-wrapper form {
        display: block;
    }

    .courses-filter .filters-set {
        display: block;
        width: 100%;
    }

    .courses-filter .filter-input-wrapper {
        width: 100%;
        margin-bottom: 20px;
    }

    .courses-filter .filter-input {
        max-width: none;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .courses-filter .filter-buttons {
        width: 100%;
    }

    .courses-filter .filter-buttons-wrapper {
        margin-left: 0;
        width: 100%;
    }
}

#container .loader {
    height: 45px;
    width: 45px;
    display: none;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0;
    border: 1px solid #004677;
    border-left-color: transparent;
    border-radius: 50%;
    animation-name: loader;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    display: block
}