@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html,
body,
div#app {
    font-family: 'Roboto', sans-serif;
    /*position: fixed;*/
    width: 100%;
    height: calc(100vh - calc(100vh - 100%));
    overscroll-behavior-y: contain;
}

body {
    touch-action: pan-x pan-y;
}

header nav {
    min-height: 48px;
    background-color: #0c68a8;
}

.app-content-wrapper {
    width: 100%;
    height: calc(100vh - calc(100vh - 100%) - 48px);
    display: grid;
    grid-template-rows: max-content auto;
}

.app-content-head {
    width: 100%;
    padding: 10px;
}

.app-content-body {
    width: 100%;
    overflow: auto;
}

.wrapper-centered {
    text-align: center;
    display: block;
}

    .wrapper-centered::before,
    .wrapper-centered .centered {
        display: inline-block;
        vertical-align: middle;
        text-align: left;
    }

    .wrapper-centered::before {
        content: '';
        width: 0;
        height: 100%;
    }

.app-loading {
    margin-top: -33px;
}

.app-loading-caption {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0c68a8
}

.app-loading-text {
    color: #a1a1a1
}


.loading-item .item-image {
    width: 50px;
    height: 50px;
    animation: loader 3s infinite ease-in-out;
    -webkit-animation: loader 3s infinite ease-in-out;
}

.loading-item .content .title {
    height: 12px;
    margin: 10px;
    width: 200px;
    animation: loader 3s infinite ease-in-out;
    -webkit-animation: loader 3s infinite ease-in-out;
}

.loading-item .content .short-title {
    height: 12px;
    margin: 10px;
    width: 350px;
    animation: loader 3s infinite ease-in-out;
    -webkit-animation: loader 3s infinite ease-in-out;
}

@keyframes loader {
    0% {
        background-color: rgba(165, 165, 165, 0.1);
    }

    50% {
        background-color: rgba(165, 165, 165, 0.3);
    }

    100% {
        background-color: rgba(165, 165, 165, 0.1);
    }
}

@-webkit-keyframes loader {
    0% {
        background-color: rgba(165, 165, 165, 0.1);
    }

    50% {
        background-color: rgba(165, 165, 165, 0.3);
    }

    100% {
        background-color: rgba(165, 165, 165, 0.1);
    }
}

.mud-dialog-width-sm {
    max-width: 65% !important;
}

.mud-dialog {
    height: 80% !important;
    max-width: 90% !important;
}

.mud-collapse-container {
    background-color: var(--mud-palette-background) !important;
}

.mud-expand-panel .mud-expand-panel-content {
    padding: 0 10px 10px !important;
}

.video, .canvas {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.height-limited .mud-expand-panel-content {
    overflow-y: auto;
    max-height: 20vh;
}