@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

/* --------------------------------------------------------
    Layout
   -------------------------------------------------------- */
html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin-top: 2.0rem;
}

app {

    width: 100%;
    height: 100%;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: auto;
}

.full-height {
    height: 100vh;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.sticky-index {
    padding-top: 5.0rem;
    position: sticky;
    top: -30.0rem;
    bottom: 0;
    overflow-y: auto;
}

/* --------------------------------------------------------
    Effects when moving over movie items.
   -------------------------------------------------------- */
.movie-hover:hover {
    background-color: #77b4db;
    opacity: .80;
    border: solid;
    border-radius: 10px;
    border-width: thin;
}

.movie-card-hover:hover {
    transform: scale(1.02);
    transition: 0.5s;
}


/* --------------------------------------------------------
    This manages our carousel controls.
   -------------------------------------------------------- */
.cards-wrapper {
    display: flex;
    justify-content: left;
}

.carousel-inner {
    padding: 1em;
}

.carousel-control-prev,
.carousel-control-next {
    background-color: #e1e1e1;
    width: 5vh;
    height: 5vh;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}


/* --------------------------------------------------------
    Blazor error ui (used by razor).  Do not remove.
   -------------------------------------------------------- */
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}


/* --------------------------------------------------------
    Media breakpoints.
   -------------------------------------------------------- */
@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 768px) {

    app {
        flex-direction: row;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar-toggler {
        display: none;
    }
}