/* The Modal (background) */
html {
    -webkit-font-smoothing: antialiased;
}


*:before, *:after {
    box-sizing: border-box;
}

a {
    cursor: pointer;
}

.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 10;
    /* Sit on top */
    /*padding-top: 100px;*/
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 35%;
    margin-top: 75px;
    margin-bottom: 75px;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.hidden {
    display: none;
}


.cards {
    width: 100%;
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    -webkit-justify-content: center;
    box-sizing: border-box;

}

.card__img--hover {
    transition: 0.5s all ease-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 150px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    top: 0;
    box-sizing: border-box;


}

.card {
    width: 100%;
    height: 240px;
    max-width: 23%;
    margin: 25px 1%;
    transition: all .7s cubic-bezier(0.175, 0.885, 0, 1);
    background-color: #fff;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 9px 10px 1px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;

}

.card:hover {
    box-shadow: 0px 15px 18px -3px rgba(0, 0, 0, 0.1);
    transform: scale(1.03, 1.03);
    box-sizing: border-box;
}

.card__info {
    z-index: 2;
    background-color: #fff;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    margin: 10px;
    padding: 5px;
    white-space: nowrap;
    box-sizing: border-box;
    overflow: hidden;
}

.card__category__div {
    margin-top: 3px;
}

.card__category {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 500;
    color: #868686;
    box-sizing: border-box;
}

.card__title {
    margin-bottom: 2px;
    padding: 0px 1px 1px 0px;
    font-size: 1.0em;
    overflow: hidden;
    box-sizing: border-box;

}

.card__by {
    font-size: 12px;
    font-weight: 500;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;


}

.card__author {
    font-weight: 600;
    text-decoration: none;
    color: #f34343;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;

}

.card:hover .card__img--hover {
    height: 100%;
    opacity: 0.3;
    box-sizing: border-box;
    position: absolute;
}

.card:hover .card__info {
    background-color: transparent;
    position: relative;
    top: 5%;
    bottom: 5%;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
}

.card:hover .card__info .card__title {
    text-overflow: ellipsis;
    white-space: normal;
    box-sizing: border-box;

}

.card__playButton {
    position: absolute;
    cursor: pointer;
    bottom: 23%;
    right: 5%;
    box-sizing: border-box;
}

.card__playlist {
    position: absolute;
    display: block;
    cursor: pointer;
    bottom: 10%;
    right: 6%;
    box-sizing: border-box;
}


.card:hover .card__playlist {
    position: absolute;
    display: block;
    cursor: pointer;
    width: 28px;
    box-sizing: border-box;
}

.card__playlist__edit {
    position: absolute;
    visibility: hidden;
    cursor: pointer;
    width: 28px;
    top: 28%;
    right: 6%;
    box-sizing: border-box;

}

.card__playlist__delete {
    position: absolute;
    visibility: hidden;
    cursor: pointer;
    width: 28px;
    top: 46%;
    right: 6%;
    box-sizing: border-box;

}

.card:hover .card__playlist__edit {
    position: absolute;
    visibility: visible;
    cursor: pointer;
    width: 28px;
    box-sizing: border-box;

}

.card:hover .card__playlist__delete {
    position: absolute;
    visibility: visible;
    cursor: pointer;
    width: 28px;
    box-sizing: border-box;

}

/*toggle switch checkbox*/

.switch-label {
    float: left;
    display: inline;
    margin-left: 16%;
    margin-top: 6px;
}

switch {
    cursor: pointer;
    float: left;
    display: inline;
}


.switch input {
    display: none;
}

.switch input + span {
    width: 48px;
    height: 28px;
    border-radius: 14px;
    transition: all 0.3s ease;
    display: block;
    position: relative;
    background: #ff4651;
    box-shadow: 0 8px 16px -1px rgba(255, 70, 81, .2);
}

.switch input + span:before, .switch input + span:after {
    content: '';
    display: block;
    position: absolute;
    transition: all 0.3s ease;
}

.switch input + span:before {
    top: 5px;
    left: 5px;
    width: 18px;
    height: 18px;
    border-radius: 9px;
    border: 5px solid #fff;
}

.switch input + span:after {
    top: 5px;
    left: 32px;
    width: 6px;
    height: 18px;
    border-radius: 40%;
    transform-origin: 50% 50%;
    background: #fff;
    opacity: 0;
}

.switch input + span:active {
    transform: scale(0.92);
}

.switch input:checked + span {
    background: #48ea8b;
    box-shadow: 0 8px 16px -1px rgba(72, 234, 139, .2);
}

.switch input:checked + span:before {
    width: 0px;
    border-radius: 3px;
    margin-left: 27px;
    border-width: 3px;
    background: #fff;
}

.switch input:checked + span:after {
    animation: blobChecked 0.35s linear forwards 0.2s;
}

.switch input:not(:checked) + span:before {
    animation: blob 0.85s linear forwards 0.2s;
}


.icon__playlist {
    height: 24px;
    width: 24px;
    background-size: cover;
    display: inline-block;
    position: relative;
    margin: 0 5px;
    top: 4px;
}


.icon__search__play {
    height: 50px;
    width: 50px;
    background-size: cover;
    display: inline-block;
    position: relative;
    margin: 0 5px;
    top: 4px;
}

body:before {
    display: none;
    content: url("/assets/img/twitter-icon-black.png") url("/assets/img/twitter-icon-grey.png") url("/assets/img/facebook-icon-black.png") url("/assets/img/facebook-icon-grey.png") url("/assets/img/share-icon-black.png") url("/assets/img/share-icon-grey.png") url("/assets/img/copy-icon-black.png") url("/assets/img/copy-icon-grey.png") url("/assets/img/trash-icon-black.png") url("/assets/img/trash-icon-grey.png") url("/assets/img/playlist-icon-black.png") url("/assets/img/playlist-icon-grey.png") url("/assets/img/playlist-icon-white.png") url("/assets/img/edit-icon-grey.png") url("/assets/img/edit-icon-grey.png") url("/assets/img/play-button-black.png");
}

.icon__playlist__twitter {
    background-image: url(../../assets/img/twitter-icon-black.png);
}

.icon__playlist__twitter:hover {
    background-image: url(../../assets/img/twitter-icon-grey.png);
}

.icon__playlist__facebook {
    background-image: url(../../assets/img/facebook-icon-black.png);
}

.icon__playlist__facebook:hover {
    background-image: url(../../assets/img/facebook-icon-grey.png);
}

.icon__playlist__copy {
    background-image: url(../../assets/img/copy-icon-black.png);
}

.icon__playlist__copy:hover {
    background-image: url(../../assets/img/copy-icon-grey.png);
}


.icon__playlist__share {
    background-image: url(../../assets/img/share-icon-black.png);
}


.icon__playlist__share:hover {
    background-image: url(../../assets/img/share-icon-grey.png);
}

.icon__playlist__trash {
    background-image: url(../../assets/img/trash-icon-black.png);
}


.icon__playlist__trash:hover {
    background-image: url(../../assets/img/trash-icon-grey.png);
}

.icon__playlist__playlist {
    background-image: url(../../assets/img/playlist-icon-black.png);
}


.icon__playlist__playlist:hover {
    background-image: url(../../assets/img/playlist-icon-grey.png);
}

.icon__playlist__playlist__white {
    background-image: url(../../assets/img/playlist-icon-white.png);
}

.icon__playlist__playlist__white:hover {
    background-image: url(../../assets/img/playlist-icon-grey.png);
}

.icon__playlist__edit {
    background-image: url(../../assets/img/edit-icon-black.png);
}


.icon__playlist__edit:hover {
    background-image: url(../../assets/img/edit-icon-grey.png);
}

.icon__play__white {
    opacity: 0.4 !important;
    background-image: url(../../assets/img/play_button.png);
}

.icon__play__white:hover {
    opacity: 0.4 !important;
    background-image: url(../../assets/img/play_button.png);
}

.icon__playlist__play__black {
    background-image: url(../../assets/img/play-button-black.png);
}


@keyframes blob {
    0%, 100% {
        transform: scale(1);
    }
    30% {
        transform: scale(1.12, 0.94);
    }
    60% {
        transform: scale(0.96, 1.06);
    }
}

@keyframes blobChecked {
    0% {
        opacity: 1;
        transform: scaleX(1);
    }
    30% {
        transform: scaleX(1.44);
    }
    70% {
        transform: scaleX(1.18);
    }
    50%, 99% {
        transform: scaleX(1);
        opacity: 1;
    }
    100% {
        transform: scaleX(1);
        opacity: 0;
    }
}

.playlist_actions {
    display: inline-block;
    float: right;
    margin-top: 75px;
    padding: 2em;
    text-align: center;
    margin-right: 0.7%;
}

.playlist__banner {
    display: inline-block;
    margin-top: 60px;
    padding: 0.4em;
    color: #000;
    font-size: 4em;
    text-align: center;
    font-weight: 600;
    margin-left: 3px;

}

.playlist__share__link {
    width: 85%;
    border: none;
    background: none;
    color: #828383;
    margin: 10px 0;
}

.playlist__share__icons a {
    color: inherit;
}

.playlist__share__icons .card__icons {
    font-size: 2em;
}


.dropbtn {
    background-image: url(../../assets/img/menu-icon-black.png);
    padding: 12px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    margin: 2.1em 1.7em 0px 0px;
    background-size: cover;
    position: relative;
}


.dropdown-content {
    display: none;
    position: absolute;
    right: 1%;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 2;
    cursor: pointer;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}


@media screen and (max-width: 900px) {


    .switch-label {
        float: left;
        display: inline;
        margin-left: 16%;
        margin-top: 6px;
    }

    .modal-content {
        width: 50%;
    }

}


@media screen and (max-width: 700px) {
    .card {
        max-width: 100%;
        width: 100%;
        -webkit-box-flex: initial;
        -ms-flex: initial;
        flex: initial;
        box-sizing: border-box;

    }

    .switch-label {
        float: left;
        display: inline;
        margin-left: 15%;
        margin-top: 6px;
    }

    .modal-content {
        width: 80%;
    }

    .playlist_actions {
        display: block;
        float: none;
        margin-top: 0;
        padding: 0;
    }

    .playlist__banner {
        display: block;
        padding: 0.6em;
    }
}

@media screen and (max-width: 460px) {


    .switch-label {
        float: left;
        display: inline;
        margin-left: 20%;
        margin-top: 6px;
    }

    .modal-content {
        width: 80%;
    }

}

/*toggle switch checkbox*/

/*Search Film + Scenes Cards*/

.wrap {
    align-items: space-around;
    margin: 15px 1%;
    display: inline-block;
    max-width: 100%;
}

.tile {
    width: 22%;
    height: 115px;
    margin: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    display: inline-block;
    background-size: cover;
    position: relative;
    cursor: pointer;
    transition: all 0.4s ease-out;
    box-shadow: rgba(0, 0, 0, 0.2) 5px 5px 5px;
    overflow: hidden;
    color: white;
}

.tile img {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    transition: all 0.4s ease-out;
}

.tile .text {
    /*   z-index:99; */
    position: absolute;
    padding: 20px;
    height: 100%;
    width: 100%;

    top: 0;
    bottom: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.5);
    color: #FFF;
    pointer-events: none;
    opacity: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    box-sizing: border-box;
    -ms-flex-line-pack: center;
    align-content: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
}

.tile h1 {

    font-weight: 300;
    margin: 0;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    color: white;
    font-size: 0.85em;

}

.tile h2 {
    font-weight: 100;
    margin: 15px 24px 0 0;
    transform: translateX(200px);
    color: white;
    font-size: 0.7em;
}

.tile p {
    font-weight: 300;
    margin: 20px 0 0 0;
    line-height: 25px;
    /*   opacity:0; */
    transform: translateX(-200px);
    transition-delay: 0.2s;
    color: white;

}

.animate-text {
    opacity: 0;
    transition: all 0.6s ease-in-out;
}

.tile:hover {
    /*   background-color:#99aeff; */
    transform: scale(1.05);
}

.tile:hover img {
    opacity: 0.2;
}

.tile:hover .animate-text {
    transform: translateX(0);
    opacity: 1;
}

.dots {
    position: absolute;
    bottom: 4%;
    right: 3%;
    margin: 0 auto;
    width: 30px;
    height: 30px;
    color: currentColor;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.dots {
    z-index: 10;
}

.search__play {
    position: absolute;
    bottom: 50%;
    right: 50%;
    height: 30px;
    width: 30px;
    margin: 0 auto;
    color: currentColor;
    display: block;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.search__play {
    z-index: 10;
}

.dots span {
    display: block;
    opacity: 0;
    transition: transform 0.4s ease-out, opacity 0.5s ease;
    transform: translateY(30px);
}

.tile:hover span {
    opacity: 1;
    transform: translateY(0px);
}

.dots span:nth-child(1) {
    transition-delay: 0.05s;
}

/*Search Film + Scenes Cards*/

