html {
    height: 100%;
}

body {
    font-family: RobotoDraft, 'Helvetica Neue', sans-serif;
    line-height: 1.8;
    width: 100%;
    margin: 0;
    padding-bottom: 5em;
    color: #444;
    background: #fff;
}

#page-main {
    position: relative;
}

/*#region navigation*/
#main-navbar {
    transition: all .25s;
    border: 0;
    background: #1072c2;
}

    #main-navbar a {
        font-size: 1em;
        font-weight: 500;
        color: #eee;
        outline: none;
    }

    #main-navbar navbar-brand {
        font-size: 1em;
        font-weight: 700;
        padding-right: 2.5em;
        letter-spacing: 2.5px;
        text-transform: uppercase;
        color: #fff;
    }

    #main-navbar a:hover, #main-navbar a:focus {
        color: #fff;
    }

    #main-navbar .navbar-toggle .icon-bar {
        background: #fff;
    }

    #main-navbar.scrolled {
        background: #1072c2;
    }

    a {
    transition: all .25s;
    text-decoration: none;
    outline: none;
}
/*#endregion*/

/*#region search*/
.section-search {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 150px;
    color: #fff;
    background: linear-gradient(to bottom, #0083e0 0%, #a99aff 100%) #0083e0;
}

button:not(#do-search) {
    transition: all .2s;
    outline: none;
}

    button:not(#do-search):active {
        margin-top: 1px;
    }

.search-movies .search {
    font-size: 1.5em;
    font-weight: 300;
    position: absolute;
    z-index: 100;
    top: -50px;
    left: 50%;
    width: 60%;
    height: 100px;
    margin-left: -30%;
    padding: 1em 4em 1em 30px;
    border: none;
    outline: none;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2), 0 5px 35px 0 rgba(0, 0, 0, 0.1);
}

.search-movies .search-hint {
    font-size: 1.175em;
    position: absolute;
    z-index: 101;
    top: -80px;
    left: 50%;
    display: block;
    overflow: hidden;
    width: 58%;
    height: 1em;
    height: 2em;
    margin-left: -29%;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #fff;
}

.search-movies #do-search {
    position: absolute;
    z-index: 101;
    top: -10px;
    right: 22.5%;
    color: #aaa;
    border: none;
    background: none;
    box-shadow: none;
}

.search-movies .search-wrapper {
    /*height: 50px;*/
    margin-bottom: 3em;
}
/*#endregion*/

/*#region movieList*/
.list-movies {
    padding: 2.5em 1.5em;
}

    .list-movies h2 {
        margin-bottom: 1em;
    }

    .list-movies .movies-thumb-list {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
    }

        .list-movies .movies-thumb-list .movie-item {
            position: relative;
            float: left;
            overflow: hidden;
            /*width: 25%;*/
            /*height: 450px;*/
            /*margin: 0 0 3em;*/
            padding: 0;
            width: 200px;
            /*margin: 5px;*/
            border: 2px solid #ccc;
            box-shadow: 2px 2px 6px rgba(0,0,0,0.3);
            list-style: none;
        }

            .list-movies .movies-thumb-list .movie-item h3 {
                font-size: 1.2em;
                font-weight: 600;
                overflow: hidden;
                width: 100%;
                margin: 0;
                /*padding: .5em 0;*/
                white-space: nowrap;
                text-overflow: ellipsis;
                color: #333;
            }

            .list-movies .movies-thumb-list .movie-item img {
                width: 100%;
                transition: opacity .35s;
                opacity: .8;
            }

            .list-movies .movies-thumb-list .movie-item .movie-info {
                position: absolute;
                z-index: 1;
                top: 45px;
                left: 5%;
                transition: all .25s;
                text-transform: uppercase;
                opacity: 0;
                color: #fff;
                text-shadow: 0 0 1px rgba(0, 0, 0, 0.95), 0 1px 4px rgba(0, 0, 0, 0.75);
            }

            .list-movies .movies-thumb-list .movie-item .movie-plot {
                font-weight: 500;
                font-size: .7em;
                line-height: 1.3;
                position: absolute;
                bottom: -25px;
                left: 0;
                max-height: 72.5%;
                margin: 0;
                padding: 1.25em;
                transition: all .25s;
                transition-delay: .25s;
                opacity: 0;
                color: #333;
                background: #fff
            }

            .list-movies .movies-thumb-list .movie-item:hover img {
                opacity: 1;
            }

            .list-movies .movies-thumb-list .movie-item:hover .movie-info {
                opacity: 1;
            }

            .list-movies .movies-thumb-list .movie-item:hover .movie-rating {
                top: 60px;
            }

            .list-movies .movies-thumb-list .movie-item:hover .movie-date {
                top: 80px;
            }

            .list-movies .movies-thumb-list .movie-item:hover .movie-plot {
                bottom: 0;
                opacity: 1;
            }

.fade-anim.ng-enter,
.fade-anim.ng-leave {
    transition: all .4s;
    opacity: 0;
}

    .fade-anim.ng-enter.ng-enter-active,
    .fade-anim.ng-leave {
        opacity: 1;
    }

        .fade-anim.ng-leave.ng-leave-active,
        .fade-anim.ng-enter {
            width: 0;
            opacity: 0;
        }
/*#endregion*/

/*#region singleMovie*/
.single-movie {
    margin-top: 5em;
}

    .single-movie h2 {
        margin-bottom: 1.75em;
    }

    .single-movie .movie-poster {
        overflow: hidden;
    }

        .single-movie .movie-poster img {
            width: 100%;
            -moz-box-shadow: 10px 10px 5px #ccc;
            -webkit-box-shadow: 10px 10px 5px #ccc;
            box-shadow: 10px 10px 5px #ccc;
            border-radius: 25px;
        }

    .single-movie .movie-data-list {
        font-size: 1.2em;
    }

        .single-movie .movie-data-list li {
            margin-bottom: .5em;
        }
/*#endregion*/

/*#region backButton*/
.button-container {
    position: absolute;
    top: -40px;
    right: 0;
    width: 100%;
    text-align: center;
}

    .button-container .button-back {
        font-size: 2.5em;
        line-height: 80px;
        display: inline-block;
        width: 80px;
        height: 80px;
        text-indent: -.05em;
        color: #333;
        border-radius: 40px;
        background: #fff;
        box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.5);
    }

        .button-container .button-back:hover, .button-container .button-back:focus {
            box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.25);
        }

        .button-container .button-back:active {
            box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.5);
        }
/*#endregion*/

/*#region loadMore*/
.load-more-wrapper {
    margin-top: 2em;
    padding-top: 2em;
    text-align: center;
    border-top: 1px solid #ddd;
}

.load-more {
    font-size: 1.5em;
    font-weight: 700;
    width: 50%;
    margin: 0;
    padding: 1em 2em;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: inherit;
    color: #46b0aa;
    border: 3px solid;
    outline: none;
    background: transparent;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
}

    .load-more:hover, .load-more:focus {
        color: #307975;
    }

    .load-more:active {
        color: #050c0b;
    }
/*#endregion*/




