.hidden {
    display: none;
}

.predefinedSearch .btn {
    width: 100%;
}

.pagination-down {
    margin: 20px 0;
}

.searchResultContainer {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    color:white;
}

.searchResultContainer.selection{
    justify-content: flex-start;
}

.searchResultContainer.reco {
    justify-content: space-around;
}

.searchResult {
    width:18%;
    padding:15px;
    background-color : rgb(48, 52, 63);
    border-radius: 20px;
    margin-top: 20px;
}

.searchResult.sim,
.searchResult.reco {
    width: 12%;
    padding: 10px;
}

.searchResult.sim {
    background-color : rgba(48, 52, 63,0.7);
}

.searchResult.reco {
    background-color : rgba(48, 52, 63,0.5);
    margin-right:15px;
}

.currentPage {
    font-size: 16px;
    margin: 0 20px;
}

.connexionWrapper {
    margin: 25px auto;
}

.connexionButton {
    border-radius: 20px;
    display: inline-block;
    padding: 10px 15px;
    color:white;
    cursor: pointer;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#2989d8+0,1e5799+71 */
    background: #2989d8; /* Old browsers */
    background: -moz-linear-gradient(45deg,  #2989d8 0%, #1e5799 71%); /* FF3.6-15 */
    background: -webkit-linear-gradient(45deg,  #2989d8 0%,#1e5799 71%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(45deg,  #2989d8 0%,#1e5799 71%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2989d8', endColorstr='#1e5799',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

.selectionFilm {
    width: 10%;
    padding:15px;
}

.selectionFilm p {
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color:black;
}

.selectionFilm img {
    max-width: 100%;
    display: block;
    margin: auto;
}

.searchResult img, .searchResult .btn {
    margin:auto;
    display: block;
}

.searchResult img {
    max-width: 100%;
}

.searchResult p {
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.posterContainer {
    position: relative;
}

.compteur {
    border-radius:15px;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#2989d8+0,1e5799+71 */
    background: #2989d8; /* Old browsers */
    background: -moz-linear-gradient(45deg,  #2989d8 0%, #1e5799 71%); /* FF3.6-15 */
    background: -webkit-linear-gradient(45deg,  #2989d8 0%,#1e5799 71%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(45deg,  #2989d8 0%,#1e5799 71%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2989d8', endColorstr='#1e5799',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
    width:100%;
    padding:5px;
    text-align: center;
    color:white;
}

#detailFilm {
    position: fixed;
    top: 0;
    left: -500px;
    width: 500px;
    background-color: lightgrey;
    transition: all 0.5s ease;
    z-index:1000;
    height:100vh;
    padding:20px;
    overflow:auto;
    color:white;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#2989d8+0,1e5799+71 */
    background: #2989d8; /* Old browsers */
    background: -moz-linear-gradient(45deg,  #2989d8 0%, #1e5799 71%); /* FF3.6-15 */
    background: -webkit-linear-gradient(45deg,  #2989d8 0%,#1e5799 71%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(45deg,  #2989d8 0%,#1e5799 71%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2989d8', endColorstr='#1e5799',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */

}
#detailFilm a {
    color: rgb(48, 52, 63);
}

#detailFilm.visible {
    left:0;
}

.detailFilm .backButton {
    padding: 15px;
    background-color: rgb(233, 100, 100);
    position: absolute;
    top: 25px;
    right:0;
    border-radius: 20px 0 0 20px;
    cursor: pointer;
}

.detailFilm .videoList a {
    display: block;
    padding-left: 20px;
}

.detailFilm .note,
.detailFilm .watchlist {
    position: absolute;
    top:25px;
    left:10%;
    width: 50px;
    height:50px;
    line-height: 50px;
    text-align: center;
    font-size: 18px;
    border-radius: 100%;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#1e9e77+0,28b3cc+71 */
    background: #1e9e77; /* Old browsers */
    background: -moz-linear-gradient(45deg,  #1e9e77 0%, #28b3cc 71%); /* FF3.6-15 */
    background: -webkit-linear-gradient(45deg,  #1e9e77 0%,#28b3cc 71%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(45deg,  #1e9e77 0%,#28b3cc 71%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e9e77', endColorstr='#28b3cc',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */

}

.detailFilm .note {
    top:25px;
}

.detailFilm .watchlist {
    top:100px;
}

.detailFilm .title {
    text-align: center;
    font-size: 24px;
    margin-top: 25px;
}

.detailFilm .sectionTitle {
    font-weight: 800;
    font-size: 16px;
}

.detailFilm > img {
    max-width: 50%;
    display:block;
    margin:auto;
}

.detailFilm > ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}
.detailFilm li {
    padding-top: 15px;
}

.videosLine {
    margin-top: 25px;
}

.detailFilmPage .poster {
    max-width: 100%;
    padding: 0 20px 0 25px;
}

.cast {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

.castBox {
    width: 20%;
    font-size: 12px;
    text-align: center;
}

.castBox img {
    margin-bottom: 10px;
}

.notationCheck div {
    display: inline-block;
    width:30px;
    height:30px;
    line-height: 30px;
    text-align: center; 
    color:white;
    border-radius:100%;
    background: #1e9e77; /* Old browsers */
    background: -moz-linear-gradient(45deg,  #1e9e77 0%, #28b3cc 71%); /* FF3.6-15 */
    background: -webkit-linear-gradient(45deg,  #1e9e77 0%,#28b3cc 71%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(45deg,  #1e9e77 0%,#28b3cc 71%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e9e77', endColorstr='#28b3cc',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

.notationCheck {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

.notationCheck .fa {
    cursor: pointer;
}

.notationCheck.selection {
    justify-content: space-around;
}

.notationCheck i {
    font-size: 16px;
}

.notationCheck i.fa-check {
    color:#1e5799;
}

@media (max-width:992px) {
    .compteur {
        font-size: 12px;
    }

}

@media (max-width:750px) {
    #detailFilm {
        left:-400px;
        width: 400px;
    }

    .selectionFilm {
        width: 20%;
        font-size: 12px;
    }

    .searchResult.reco {
        width:20%;
    }

}

@media (max-width:650px) {

    .selectionFilm {
        width: 25%;
    }

    .searchResult {
        width:22%;
    }

    .searchResult.reco {
        width:25%;
    }


}

@media (max-width:500px) {
    #detailFilm {
        left:-350px;
        width: 350px;
    }

    .selectionFilm {
        width: 20%;
        font-size: 12px;
    }

    .searchResult {
        width:30%;
    }

    .searchResult.reco {
        width:25%;
    }



}

@media (max-width:400px) {
    #detailFilm {
        left:-250px;
        width: 250px;
    }

    .selectionFilm {
        width: 25%;
    }

    .searchResult {
        width:40%;
    }

    .searchResult.reco {
        width:25%;
    }

    .castBox {
        width: 30%;
        font-size: 12px;
        text-align: center;
    }


}

@media (max-width:370px) {

    .searchResult.reco {
        width:40%;
    }


}