﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

:root {
    --primary: #de007c;
    --secondary: #002b53;
    --teams-background-color: #f5f5f5;
}


html, body, app, .main {
    font-family: 'Gill Sans MT', sans-serif;
    height: 100vh;
    min-width: 100%;
    overflow: hidden;
    background-color: var(--teams-background-color);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid var(--primary);
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#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;
    }

.row {
    margin: 0!important;
    padding: 0!important;
}


@media screen and (max-width: 823px) {
    .box {
        max-height: 100%;
        overflow-y: scroll !important;
        width: 100% !important;
    }

        .box .middleFlex {
            overflow: auto !important;
        }
}

@media screen and (min-width: 824px) {
    .box {
        display: flex;
        flex-flow: column;
        height: 100%;
    }

        .box .topPart {
            flex: 0 1 auto;
        }

        .box .middleFlex {
            flex: 1 1 auto;
            overflow: auto;
        }

        .box .bottomFooter {
            flex: 0 1 0px;
        }
}

.tab-content, .nav {
    box-shadow: -5px -5px 7px rgba(0,0,0,0.2), inset 0px 3px 0px rgba(0,0,0,0.2);
}

tr .table .thead-dark th {
    color: white;
    background-color: grey;
    border-color: grey;
    z-index: 0;
}

th {
    cursor: pointer;
    transform: translateY(-1px);
}

.sticky-top {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}

.tab-content > .pdf-view {
    min-height: 640px;
    width: calc(100vw - 18px);
    display: grid;
}

.field .input-group .input-group-append {
    width: 20%;
    min-width: 50px;
    background-color: rgb(255 255 255);
}

    .field .input-group .input-group-append .btn {
        width: 100%;
    }

.dropdown-menu {
    padding-top: 0;
    padding-bottom: 0;
	z-index: 1021;
}

    .dropdown-menu > li:hover {
        background: #dee2e6;
    }

    .dropdown-menu > div > li:hover {
        background: #dee2e6;
    }

    .dropdown-menu > li:nth-child(odd) {
        background: rgba(0,0,0,.05);
    }

    .dropdown-menu > div > li:nth-child(odd) {
        background: rgba(0,0,0,.05);
    }

        .dropdown-menu > li:nth-child(odd):hover {
            background: #dee2e6;
        }

        .dropdown-menu > div > li:nth-child(odd):hover {
            background: #dee2e6;
        }

.is-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.multi-display {
    pointer-events: none;
    opacity: 0.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: small;
    transform: translate3d(10px, 172%, 0);
    background-color: rgb(0 0 0 / 0%);
}

.form-control-placeholder {
    position: absolute;
    width: 100%;
    top: 0;
    padding: 10px 62px 0 12px;
    transition: all 150ms;
    opacity: 0.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.form-control:focus ~ .form-control-placeholder {
    font-size: 75%;
    transform: translate3d(0, -85%, 0);
    opacity: 1;
    padding-right: 12px;
}

.form-control:not(:placeholder-shown) ~ .form-control-placeholder {
    font-size: 75%;
    transform: translate3d(0, -85%, 0);
    opacity: 1;
    padding-right: 12px;
}

.form-control:focus ~ .form-control-placeholder span {
    transform: translate3d(0, 85%, 0);
    visibility: hidden;
}

.form-control:not(:placeholder-shown) ~ .form-control-placeholder span {
    transform: translate3d(0, 85%, 0);
    visibility: hidden;
}

.form-control-placeholder span {
    background-color: none;
}

.btn:hover {
    background-color: var(--primary);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(222, 0, 124, 0.25);
}

a, .btn-link {
    color: var(--secondary);
}

    a:hover, .btn-link:hover {
        color: var(--primary);
    }