﻿/* Sticky footer styles
-------------------------------------------------- */
.text-accent {
    color: #FF355C !important;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 76px; /* 72 + 4 */
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 72px;
    background-color: #f5f5f5;
}

.footer-fullscreen {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
}

.footer-progressbar {
    position: fixed;
    bottom: 72px;
    width: 100%;
    height: 4px;
    background-color: #f5f5f5;
}

.progressbar-height {
    height: 4px;
}

.youtube-dom-size {
    width: 96px;
    height: 54px;
}

.youtube-dom-size-fullscreen {
    width: 100%;
    height: 100%;
}

.toast-position {
    position: fixed;
    bottom: 0;
    right: 0;
    margin-bottom: 89px; /* 72 + 2 + 15 */
    margin-right: 15px;
}

.coverart-style {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.coverart-size-64 {
    width: 64px;
    height: 64px;
}

.coverart-size-128 {
    width: 128px;
    height: 128px;
}

/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */

body > .container {
    padding: 60px 15px 0;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

code {
    font-size: 80%;
}

#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;
    }

/* https://stackoverflow.com/questions/3922739/limit-text-length-to-n-lines-using-css */
.text-two-lines {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.text-one-line {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
