﻿
@media (orientation:landscape) {
    .blazored-modal {
        padding: 1.0rem;
        z-index: 999 !important;
        /*height: 90vh !important;*/
        width: 90vw !important;
        max-height: 90vh !important;
        max-width: 90vw !important;
    }
}

@media (orientation:portrait) {
    .blazored-modal {
        padding: 1.0rem;
        z-index: 999 !important;
        height: 90vh !important;
        /*width: 90vw !important;*/
        max-height: 90vh !important;
        max-width: 90vw !important;
    }
}

.blazored-modal-header {
    padding: 0 0 .75rem 0 !important;
}

.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.embed-container iframe, .embed-container object, .embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.blazored-modal-content {
    overflow-x: hidden;
    /*max-height: 800px;*/
    overflow-y: auto;
}
a.nav-link.active.show {
    background-color: #0069D9;
    color: white;
}

#scroller * {
    overflow-anchor: none;
}

#scroller::after {
    content: '';
    display: block;
    overflow-anchor: auto;
    height: 1px;
}

.spinner {
    border: 16px solid silver;
    border-top: 16px solid #337AB7;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 700ms linear infinite;
    top: 40%;
    left: 55%;
    position: absolute;
}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

/* Minimum aspect ratio */
/*@media (min-aspect-ratio: 8/5) {
    div {
        background: #9af;*/ /* blue */
    /*}
}*/

/* Maximum aspect ratio */
/*@media (max-aspect-ratio: 3/2) {
    div {
        background: #9ff;*/ /* cyan */
    /*}
}*/

/* Exact aspect ratio, put it at the bottom to avoid override*/
/*@media (aspect-ratio: 1/1) {
    div {
        background: #f9a;*/ /* red */
    /*}
}*/