﻿body {
    height: 100vh;
    font-family: Segoe UI;
    font-weight: lighter;
}

/* Responsive classes */

.w-75-cst {
    width: 75%;
}

@media (max-width: 1280px)
{
    .w-75-cst 
    {
        width: 95%;
    }
}


/* Error message */
#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;
    }


.align-to-bottom {
    bottom: 0;
}

.align-to-right{
    right: 0;
}

.border-color-gray {
    border-color: rgb(150,150,150);
}

.border-left
{
    border-left-style: solid;
    border-left-width: 1px;
}

.height-full-parent
{
    height: 100%;
}

.img-auto 
{
    max-width: 100%;
    height: auto;
}

.margin-bottom-med {
    margin-bottom: 5vh;
}

.margin-top-med {
    margin-top: 5vh;
}

.margin-top-lar {
    margin-top: 10vh;
}

.center-horizontal
{
    right: 0;
    left: 0;
}

.pos-relative {
    position: relative;
}

.pos-absolute {
    position: absolute;
}

.width-fixed-200 {
    width: 200px;
}

.width-fixed-300 {
    width: 300px;
}

.width-full-parent
{
    width: 100%;
}

.databox-scrollbars
{
    max-height: 800px;
    overflow: auto;
}


/* Font and styles*/

.h1-cst
{
    font-size: 60px;
}

.h2-cst {
    font-size: 40px;
}

.text-color-gray 
{
    color: rgb(150,150,150) !important;
}

.text-color-red {
    color: rgb(255,0,0) !important;
}

.text-color-blue {
    color: rgb(50,150,230) !important;
}

.text-color-green {
    color: rgb(0,255,0) !important;
}

.error-message{
    color: rgb(255,0,0);
}

/* Input icons*/

.input-icons i {
    position: absolute;
}

.input-icons {
    width: 100%;
    margin-bottom: 10px;
}

.icon {
    position: absolute;
    padding: 10px;
    min-width: 40px;
}

.input-field {
    width: 75%;
    padding: 10px;
    text-align: center;
}

/* Left side menu*/

.drawer
{
    border-right-style: solid;
    border-right-color: rgb(150,150,150);
    border-right-width: 1px;
}

.drawer-item
{
    font-size: large;
}

.drawer-item-active 
{
    font-size: large;
    font-weight: bold;
}

.drawer-item-sep
{
    border-bottom-style: solid;
    border-bottom-color: rgb(150,150,150);
    border-bottom-width: 1px;
    height: 0;
    width: 75%;
    margin-left: auto;
    margin-right: auto;
}

/* Dialog */

@keyframes dialog-container-entry {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


.dialog-container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 2000;
    display: flex;
    animation: dialog-container-entry 0.2s;
}

@keyframes dialog-entry {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateX(0px) scale(1.0);
    }
}

.dialog {
    background-color: white;
    box-shadow: 0 0 12px rgba(0,0,0,0.6);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    z-index: 2000;
    align-self: center;
    margin: auto;
    width: 700px;
    max-height: calc(100% - 3rem);
    animation: dialog-entry 0.4s;
    animation-timing-function: cubic-bezier(0.075, 0.820, 0.165, 1.000);
}

/* Details pages */

.details-box
{
    border-style: solid;
    border-color: rgb(150,150,150);
    border-width: 1px;
    border-radius: 5px;
}

/* Tabs */

.tab-title-active
{
    font-weight: bold;
}

.tab-title-inactive {
    color: black !important;
}

