﻿.ndr-filter {
    margin-bottom: 50px;
}

    .ndr-filter h3 {
        color: #292F7C;
    }

    .ndr-filter .control-reset {
        position: relative;
        display: inline-block;
        background: #d1ddfe;
        cursor: pointer;
        color: #292F7C;
        border: 2px solid #292F7C;
        border-radius: 25px;
        padding: 10px 26px;
        transition: background 150ms;
        margin: 3px;
    }

    .ndr-filter .scope {
        margin-left: 100px;
        font-style: italic;
    }


    .ndr-filter .filter-dropdown {
        display: inline-block;
    }

    .ndr-filter .custom-dropdown {
        /* position: relative; */
        display: inline-block;
    }

    .ndr-filter .custom-dropdown-toggle {
        width: 200px;
        padding: 10px 20px;
        vertical-align: top;
        margin-bottom: 10px;
        margin-left: .75rem;
        font-family: 'Work Sans', sans-serif;
        cursor: pointer;
        border: 2px solid #292F7C;
        color: #292F7C;
        transition: background 150ms;
        background-color: white;
    }

        .ndr-filter .custom-dropdown-toggle:hover {
            background-color: #c5d0ed;
        }

        .ndr-filter .custom-dropdown-toggle.active {
            background-color: #b8c4e6;
        }

        .ndr-filter .custom-dropdown-toggle:after {
            content: "\25BC";
            color: #292F7C;
            font-weight: bold;
            float: right;
            margin-left: 5px;
            border: none;
        }

        .ndr-filter .custom-dropdown-toggle.active:after {
            content: "\25B2";
        }

    .ndr-filter .custom-dropdown-menu {
        display: none;
        position: absolute;
        background-color: white;
        min-width: 200px;
        box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        padding: 10px 0;
        border: 1px solid #ddd;
    }

    .ndr-filter .custom-dropdown.open .custom-dropdown-menu {
        display: block;
    }

    .ndr-filter .dropdown-item {
        display: block;
        padding: 5px 20px 5px 45px;
        color: #29307C;
        font-weight: 500px;
        font-size: 18px;
        position: relative;
    }

        .ndr-filter .dropdown-item input {
            margin-right: 8px;
            position: absolute;
            left: 20px;
        }


    .ndr-filter #dropdownPhonics {
        width: 400px;
    }
    /*.control:not(.ndr-filter .mixitup-control-active):hover {
    background: #292F7C;
    color: #d1ddfe;
}*/

    .ndr-filter .mixitup-control-active {
        background: #292F7C;
        color: #d1ddfe;
    }

    .ndr-filter div.category-display {
        font-size: 17px;
        font-weight: 500;
        color: #2f3379;
        margin: 20px 0;
        display: none;
    }

    .ndr-filter .mix-container {
        margin-top: 30px;
        z-index: 999;
        position: relative;
    }

        .ndr-filter .mix-container .mix {
            width: 470px;
            margin-right: 2em;
            margin-bottom: 2em;
        }

    .ndr-filter .mix div {
        font-family: 'Work Sans', sans-serif !important;
    }

        .ndr-filter .mix div.cardContent {
            border: 2px solid #292F7C;
        }

            .ndr-filter .mix div.cardContent .tag {
                font-size: 16px;
                color: #ffffff;
                font-weight: 600;
                text-align: left !important;
                margin: 0;
                background-color: #29307C;
                padding: 5px;
            }

                .ndr-filter .mix div.cardContent .tag:empty {
                    background-color: transparent; /* Overrides the background */
                }

            .ndr-filter .mix div.cardContent .phonics {
                font-weight: 700;
                text-align: left !important;
                margin: 0px;
                color: #29307C;
                font-size: 24px;
                padding: 25px 25px 10px;
                line-height: 28px
            }

            .ndr-filter .mix div.cardContent .title {
                font-style: italic;
                font-size: 24px;
                font-weight: 500;
                text-align: left !important;
                color: #29307C;
                padding: 0px 25px 10px;
                line-height: 28px;
            }

            .ndr-filter .mix div.cardContent .sounds {
                font-family: 'Work Sans', sans-serif !important;
                margin: 0px 0px 15px 25px;
                color: #292F7C;
                background: #D3DDFB;
                border: none;
                font-size: 14px !important;
                font-weight: 700;
                padding: 6px 17px !important;
                text-decoration: none;
                border-radius: 26px;
                width: fit-content;
            }

                .ndr-filter .mix div.cardContent .sounds.transparentBg {
                    background-color: transparent;
                    display: none;
                }

            .ndr-filter .mix div.cardContent .summary {
                font-size: 14px;
                color: #29307C;
                text-align: left !important;
                margin: 8px 0;
            }

            .ndr-filter .mix div.cardContent img {
                height: 250px;
                margin-left: 140px;
            }

    .ndr-filter .mix-container .mix img.pack {
        margin: 5px 25px 10px 25px;
        width: 405px;
        height: 193px;
    }

    .ndr-filter .mix div.cardContent .price {
        font-size: 20px;
        color: #454242;
        font-weight: 600;
        margin: 8px 0;
        background-color: #fff;
    }

    .ndr-filter .mix div.cardContent hr {
        font-size: 14px;
        color: #ffffff;
        margin: 8px 0;
    }

    .ndr-filter .mix div.cardContent a.btn {
        font-family: 'Work Sans', sans-serif !important;
        margin-top: 4px;
        color: #292F7C;
        border: 1px solid #292F7C;
        font-size: 12px !important;
        font-weight: 600;
        display: inline-block;
        padding: 8px 24px !important;
        text-decoration: none;
        border-radius: 20px !important;
        cursor: pointer;
    }

        .ndr-filter .mix div.cardContent a.btn.add-to-cart {
            display: none;
        }

        .ndr-filter .mix div.cardContent a.btn.yellowBtn,
        .ndr-filter .mix div.cardContent a.btn.btn-buy {
            background-color: #f6c511;
            border: none;
        }

    .ndr-filter .mix div.cardContent a.yellowBtn:hover,
    .ndr-filter .mix div.cardContent a.btn-buy:hover {
        background-color: #ddaf08;
    }

    .ndr-filter .btn-show-more {
        font-family: 'Work Sans', sans-serif !important;
        margin-top: 4px;
        color: #292F7C;
        border: 1px solid #f6c511;
        font-size: 18px !important;
        font-weight: 700 !important;
        display: inline-block;
        padding: 12px 30px;
        text-decoration: none;
        border-radius: 26px !important;
        cursor: pointer;
        background-color: #f6c511;
    }

    .ndr-filter .mix:hover div {
        opacity: .95;
        /* cursor: pointer; */
    }

    /* Target Elements */

    .ndr-filter .mix,
    .gap {
        display: inline-block;
        vertical-align: top;
    }

    .ndr-filter .mix {
        background: #fff;
        border-radius: 2px;
        margin-bottom: 1rem;
        position: relative;
    }

        .ndr-filter .mix.hide-card {
            display: none !important;
        }

    /* Grid Breakpoints */

    /* 2 Columns */

    .ndr-filter .mix,
    .gap {
        width: calc(100%/2 - (((2 - 1) * 1rem) / 2));
    }

/* 3 Columns */

@media screen and (min-width: 541px) {
    .ndr-filter .mix,
    .gap {
        width: calc(100%/3 - (((3 - 1) * 1rem) / 3));
    }
}

/* Add this CSS for a simple loading */
.mix-loader {
    margin: 20px;
    height: 20px;
    width: 30%;
    top: 500px;
    left: 40%;
    position: absolute;
    z-index: 1099 !important;
}

    .mix-loader div {
        display: block;
        width: 30px;
        height: 30px;
        position: absolute;
        background-color: #ccc;
        border-radius: 50%;
    }

        .mix-loader div:nth-child(1) {
            background-color: #093658;
            -webkit-animation: move 2s infinite cubic-bezier(0.2, 0.64, 0.81, 0.23);
            animation: move 2s infinite cubic-bezier(0.2, 0.64, 0.81, 0.23);
        }

        .mix-loader div:nth-child(2) {
            background-color: #135d94;
            -webkit-animation: move 2s 150ms infinite cubic-bezier(0.2, 0.64, 0.81, 0.23);
            animation: move 2s 150ms infinite cubic-bezier(0.2, 0.64, 0.81, 0.23);
        }

        .mix-loader div:nth-child(3) {
            background-color: #1689c6;
            -webkit-animation: move 2s 300ms infinite cubic-bezier(0.2, 0.64, 0.81, 0.23);
            animation: move 2s 300ms infinite cubic-bezier(0.2, 0.64, 0.81, 0.23);
        }

        .mix-loader div:nth-child(4) {
            background-color: #4aacd7;
            -webkit-animation: move 2s 450ms infinite cubic-bezier(0.2, 0.64, 0.81, 0.23);
            animation: move 2s 450ms infinite cubic-bezier(0.2, 0.64, 0.81, 0.23);
        }

/* Add this to hide the loader when MixItUp has finished loading */
.mix-loader {
    display: none;
}

.mix-container.dimmed {
    opacity: 0.5; /* Makes the div semi-transparent */
}
