section.search .filter {
    display: flex;
    flex-direction: row;
    margin-bottom: 20px;
}

    section.search .filter div.keyword {
        flex: 1 1 auto;
        max-width: 500px;
        margin-right: auto
    }

    section.search .filter div.season {
        flex: 0 0 120px;
        margin-left: 20px;
    }

    section.search .filter div.team {
        flex: 0 0 200px;
        margin-left: 20px;
    }

    section.search .filter .md-text-container {
        background-color: rgba(255,255,255,0.1);
        display: flex;
        flex-direction: row;
    }

        section.search .filter .md-text-container input {
            font-family: inherit;
            background-color: transparent;
            width: 100%;
            padding: 18px;
            font-size: 16px;
            border-radius: 0;
            border: none;
            color: #fff;
            flex: 1 1 auto;
        }

        section.search .filter .md-text-container button {
            flex: 0 0 60px;
            border: none;
            background: center no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='rgb(253,66,2)' fill-rule='nonzero'%3E%3Cg%3E%3Cg%3E%3Cg%3E%3Cpath d='M16.145 14.2c1.082-1.478 1.73-3.294 1.73-5.262C17.875 4.01 13.865 0 8.937 0 4.01 0 0 4.01 0 8.938c0 4.928 4.01 8.937 8.937 8.937 1.97 0 3.785-.648 5.264-1.73L20.056 22 22 20.056 16.145 14.2zM9 15c-3.309 0-6-2.691-6-6s2.691-6 6-6 6 2.691 6 6-2.691 6-6 6z' transform='translate(-503 -155) translate(50 136) translate(453 19)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A");
            white-space: nowrap;
            overflow: hidden;
            text-indent: -9999px;
        }

        section.search .filter .md-text-container input:focus {
            outline: none;
        }

    section.search .filter .md-select-container {
        position: relative;
        width: 100%;
        border: 1px solid rgba(255,255,255,0.1);
    }

        section.search .filter .md-select-container select {
            position: relative;
            font-family: inherit;
            background-color: transparent;
            width: 100%;
            padding: 22px 10px 14px 5px;
            font-size: 16px;
            border-radius: 0;
            border: none;
            color: #fff;
        }

            /* Remove focus */
            section.search .filter .md-select-container select:focus {
                outline: none;
            }

            section.search .filter .md-select-container select option {
                color: #fff;
                background-color: #000;
            }



        /* LABEL ======================================= */

        section.search .filter .md-select-container label {
            font-size: 16px;
            font-weight: normal;
            position: absolute;
            pointer-events: none;
            left: 10px;
            top: 16px;
            transition: 0.2s ease all;
        }

        section.search .filter .md-select-container.focused label {
            left: 10px;
            top: 4px;
            transition: 0.2s ease all;
            font-size: 12px;
        }


section.search .results-empty {
    display: none;
    text-align: center;
    padding: 80px;
}

section.search .empty .results-empty {
    display: block;
}


section.search .results {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    margin:0 -10px;
}

    section.search .results h2 {
        margin: 0;
    }

    section.search .results > div {
        display: inline-block;
        width: calc(100% * (1/4) - 20px);
        margin:10px;
    }
    /* Start Card */
    section.search .results .card {
        color: #fff;
        text-decoration: none;
        margin-bottom: 30px;
        display: block;
        cursor: pointer;
    }


        section.search .results .card .poster {
            display: block;
            position: relative;
            padding-bottom: calc(100% * 9 / 16);
            position: relative;
            width: 100%;
        }

            section.search .results .card .poster > div {
                position: absolute;
                top: 0;
                bottom: 0;
                width: 100%;
                height: 100%;
            }

                section.search .results .card .poster > div.gradient {
                    background-image: linear-gradient(to bottom, rgba(30, 34, 38, 0.07) 30%, rgba(29, 29, 29, 0.9) 93%);
                }

                section.search .results .card .poster > div.teams {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                }

                    section.search .results .card .poster > div.teams .icons {
                        display: flex;
                        flex-direction: row;
                    }

                        section.search .results .card .poster > div.teams .icons > div img {
                            width: 70px;
                            height: 70px;
                        }

                        section.search .results .card .poster > div.teams .icons > div.seperator {
                            width: 40px;
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            font-weight: bold;
                            opacity: 0.6;
                        }


            section.search .results .card .poster .duration {
                position: absolute;
                bottom: 4px;
                right: 4px;
                background: rgba(0,0,0,0.9);
                font-size: 12px;
                padding: 5px 8px;
            }

        section.search .results .card .body h3 {
            font-size: 16px;
            margin: 10px 0 0 0;
        }


        section.search .results .card .body .meta {
            opacity: 0.5;
            font-size: 12px;
            color: #ffffff;
        }

        section.search .results .card a, section.search .results .card a:hover, section.search .results .card a:visited, section.search .results .card a:active {
            color: #ffffff;
            text-decoration: none;
        }


        section.search .results .card .body .meta span {
            display: block;
        }


        section.search .results .card .poster > div.play {
            background-color: rgba(255,255,255,0.075);
            opacity: 0;
            transition: opacity 0.3s;
            -webkit-transition: opacity 0.3s;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='37' height='46'%3E%3Cpolygon fill='%23fff' stroke='%23fff' stroke-width='1' points='0,0 37,23 0,46'%3E%3C/polygon%3E%3C/svg%3E%0A");
            background-position: center;
            background-repeat: no-repeat;
        }

        section.search .results .card:hover .poster > div.play {
            opacity: 1;
            transition: opacity 0.3s;
            -webkit-transition: opacity 0.3s;
        }

@media only screen and (max-width:1200px) {
    section.search .results > div {
        width: calc(100% * (1/3) - 20px);
    }
}


@media only screen and (max-width:992px) {
    section.search .filter {
        display: flex;
        flex-flow: wrap;
    }

        section.search .filter > div {
            margin-bottom: 18px;
        }

        section.search .filter div.keyword {
            flex: 1 1 100%;
            max-width: unset;
        }

        section.search .filter div.season {
            flex: 0 0 120px;
            margin-left: 0;
        }

        section.search .filter div.team {
            flex: 1 1;
            margin-left: 18px;
        }
}

@media only screen and (max-width:768px) {
    section.search .results > div {
        width: calc(100% * (1/2) - 20px);
    }
}

@media only screen and (max-width:576px) {
    section.search .filter .md-text-container {
        border: 1px solid rgba(255,255,255,0.1);
        background-color: rgba(255,255,255,0);
    }

    section.search .filter div.season {
        flex: 1 1 100%;
        margin-left: 0;
    }

    section.search .filter div.team {
        flex: 1 1 100%;
        margin-left: 0;
    }

    section.search .results > div {
        width: calc(100% * (1/1) - 20px);
    }
}

@keyframes flickerAnimation {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-o-keyframes flickerAnimation {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-moz-keyframes flickerAnimation {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes flickerAnimation {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


.infinite-container .load-button {
    display: block;
    cursor: pointer;
    text-align: center;
    opacity: 0.8;
    transition: opacity 0.3s;
    -webkit-transition: opacity 0.3s;
    text-transform: lowercase;
}

    .infinite-container .load-button:hover {
        opacity: 1;
        transition: opacity 0.3s;
        -webkit-transition: opacity 0.3s;
    }

    .infinite-container .load-button .arrow {
        width: 70px;
        height: 30px;
        margin: auto;
        margin-top: 10px;
        background-image: url("data:image/svg+xml,%3Csvg width='70' height='30' xmlns='http://www.w3.org/2000/svg' version='1.1' stroke='rgb(255,255,255)' stroke-width='2' stroke-linecap='round'%3E%3Cline x1='2' y1='2' x2='35' y2='28'/%3E%3Cline x1='35' y1='28' x2='68' y2='1'/%3E%3C/svg%3E");
    }

.infinite-container.complete .load-button {
    display: none;
}

.infinite-container.loading .load-button {
    -webkit-animation: flickerAnimation 0.5s infinite;
    -moz-animation: flickerAnimation 0.5s infinite;
    -o-animation: flickerAnimation 0.5s infinite;
    animation: flickerAnimation 0.5s infinite;
    cursor: default;
}
