@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

/*Base and Background*/
html, body {
    margin: 0px;
    font-family: Arial,helvetica;
    font-size: 1rem;
    color: #23353e;
    overflow: hidden;
}

#npage {
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom right, #fff, #fff);
}

/*Navigation, Anchors and Buttons*/
a, .btn-link {
    color: #23353e;
}

.btn-none {
    color: #23353e;
    background-color: #62727E;
    border-color: #192027;
}

/*Icons, change filter to adjust colour*/
.ico-svg {
    background-repeat: no-repeat;
    background-size: contain;
    filter: invert(1) sepia(10) saturate(3) brightness(23%) hue-rotate(130deg);
    width: 100%;
    height: 150%;

}

.btn-primary {
    color: #ffffff;
    background-color: rgba(128,128,128,1);
    border-color: #192027;
    max-height:193.9px;
}

    .btn-primary:hover {
        background-color: rgba(128,128,128,1);
    }

    .btn-primary:disabled, .btn-primary[disabled] {
        border: 1px solid #999999;
        background-color: #cccccc;
        color: #666666;
    }

/*Search String*/
.stxt {
    color: #000000;
    background-color: #fefefe;
    border: 0px;
    border-radius: 4px;
    cursor: pointer;
    width: 320px;
    height: 25px;
    margin-left: 5px;
    margin-bottom: 15px;
}

.btn-clc {
    width:98px;
    height:145px;
}

.file-input-zone {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background-color: #62727E;
    border: 1px solid #999999;
    border-radius: 5px;
    border-color: #192027;
    cursor: pointer;
    position: relative;
    width: 120px;
    height: 30px;
}

    .file-input-zone:hover {
        background-color: rgba(126,147,160,1);
    }

    .file-input-zone input[type=file] {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer;
    }

.nav-link {
    cursor:pointer;
    color: #23353e;
    border-radius: 0px;
    margin: 2px;
}

    .nav-link:hover {
        cursor: pointer;
        background-color: rgba(128,128,128,1);
        color: white;
    }

 /*Logo, Name and Topbar*/
.logo {
    margin-left: 20px;
    margin-top: 15px; 
    height: 35px;
    width: 150px;
    max-width: calc(100% - 10px); 
    background-size: contain; 
    background-position: left center; 
    background-image: url("../../resources/logos/Brand-Logo.png");
    background-repeat: no-repeat;
}

.pr-logo {
    margin: auto;
    max-height: 30px;
    width: 128px;
    content: url("../../resources/logos/Brand-Logo.png");
    filter: invert(0) sepia(0%) brightness(100%);
}

.kname {
    font-size: 18pt;
    font-weight: bold;
    color: #23353e;
    width: auto; 
    max-width: 100%;
    padding-top: 30px;
    margin-left: 17px;
    margin-right: 0px;
}

.top-row {
    min-height: 90px;
    display: flex;
    align-items: center;
}
    .top-row .oi {
        width: 1.5rem;
        top: -1px;
    }
            .top-row .nav-item a {
                height: 2rem;
                display: flex;
                align-items: center;
            }

/*Sidebar*/

.sidebar {
    height: 100vh;
    float: left;
}

    .sidebar .top-row {
        background-color: #ffffff;
        border-bottom: 1px solid #d5d5d5;
    }

    .sidebar .oi {
        width: 2rem;
        font-size: 1.1rem;
        top: -2px;
    }

    .sidebar .navline {
        margin-left: 15px;
        margin-right: 15px;
        height: 1px;
        background-color: #7B8792;
    }

    .sidebar .nav-item {
        font-size: 10pt;
        padding-bottom: 0.1rem;
    }

        .sidebar .nav-item:first-of-type {
            padding-top: 0rem;
        }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 1rem;
        }

        .sidebar .nav-item a {
            color: #23353e;
            height: 2rem;
            display: flex;
            align-items: center;
        }

            .sidebar .nav-item a:hover {
                background-color: rgba(128,128,128,1);
                color: #fff;
            }

/*farbe and dekor display*/

.f_d_mini {
    float: left;
    margin-right: 5px;
    width: 15px;
    height: 15px;
}

.f_d_bse {
    font-size: 12px;
    padding: 0px;
}

/* performer query classes */
.pqh {
    text-align: center;
    height: 32px;
    font-size: 12pt;
    font-weight: bold;
    color: #555555;
}

.pqsh {
    text-align: center;
    font-size: 10pt;
    font-weight: bold;
    color: #555555;
}

.pq {
    float: left;
    overflow-y: auto;
    width: 100%;
}

.pq-block {
    float: left;
    width: calc(100% - 10px);
    margin-left: 10px;
}

.pq-input {
    line-height:1.85;
}

.pq-container {
    float: left;
    display: table;
    cursor: pointer;
    margin: 5px;
}

.pq-bg {
    border-style: solid;
    border-width: 2px;
    border-color: white;
    background-repeat: no-repeat;
}
.pq-txt-btn-bse {
    color: #FFFFFF;
    font-size: 10px;
    text-align: center;
    max-width: 72px;
    min-height: 80px;
}
.pq-txt-btn {
    color: #FFFFFF;
    font-size: 10px;
    text-align: center;
    max-width:72px;
    min-height:60px;
}
.pq-txt {
    color: #555555;
    font-size: 8px;
    text-align: center;
    height: 36px;
}
.pq-txt-light {
    font-size: 10px;
    text-align: center;
    height: 36px;
}
.pq-txt-bf {
    width: 88px;
}
.pq-txt-fl {
    width: 72px;
}
.pq-txt-col {
    width: 72px;
}
.pq-bg-fl {
    width: 72px;
    height: 144px;
    background-position: center 0px;
}
.pq-bg-tiny {
    width: 10px;
    height: 10px;
    float: left;
}
.pq-bg-title {
    width: 72px;
    height: 180px;
}
.pq-bg-bf {
    display: flex;
    width: 88px;
    height: 88px;
    color: #FFFFFF;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 1px;
}
.mirror {
    transform: scaleX(-1);
}
.pq-bg-col {
    display: flex;
    width: 72px;
    height: 72px;
    color: #FFFFFF;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.pq-bg-hf {
    width: 90px;
    height: 90px;
    background-position: center 2px;
	text-align: center;
	color: #FFFFFF;
}
.pq-bg-txt {
    display: flex;
    width: 72px;
    height: 72px;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.dark {
    color: #555555;
}
.pq-bg-lrg {
    width: 72px;
    height: 72px;
    background-size: contain;
    background-position: center;
}
.pq-bg-lrg-tiny {
    float:left;
    width: 40px;
    height: 40px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

/* stat display classes */
.stat-container {
    float: left;
    color: #ffffff;
    background-color: #62727E;
    border-color: #192027;
    display: table;
    cursor: pointer;
    margin: 5px;
    width: 250px;
    height: 290px;
    border: 1px;
    padding: 10px;
    border-radius: 4px;
}

.stat-bg {
    height: 144px;
    background-position: center 0px;
    background-repeat: no-repeat;
}

.stat-txt {
    font-size: 16px;
    text-align: center;
}

/* performer diplay classes */
.performer {
    background-image: linear-gradient(180deg, rgba(168, 168, 168, 1) 0%, rgba(255,255,255,0.7) 70%, rgba(255,255,255,1) 100%);
    overflow: visible;
    height: calc(100vh - 90px);
}

.spinner {
    border: 20px solid #f0f1f1;
    border-top: 20px solid #56646F;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    animation: spin 900ms linear infinite;
}
@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

.pactions {
    float:right;
}
    .pactions .oi {
        width: 1.5rem;
        font-size: 2rem;
    }

    .pactions .nav-item a {
        border-radius: 4px;
        display: flex;
    }

        .pactions .nav-item a:hover {
            background-color: rgba(126,147,160,1);
            color: white;
        }

.perleft {
    background-color: #e1e1e1;
    overflow: scroll;
    overflow-x: hidden;
    font-size: 12pt;
    font-weight: bold;
    height: calc(100vh - 90px);
}

.perpresent {
    background-color: #e1e1e1;
    font-size: 10pt;
    height: calc(100vh - 80px);
}
.peredit {
    padding: 10px;
    background-color: #e1e1e1;
    font-size: 10pt;
    overflow: hidden;
    height: calc(100vh - 90px);
}
.statistics {
    padding: 10px;
    background-color: #e1e1e1;
    font-size: 10pt;
    overflow-y: scroll;
    height: calc(100vh - 90px);
}

/*Custom Model Line Page*/
.cmltop {
    width: 100%;
    height: 15%;
    min-height:105px;
}
.cmlbot {
    width: 100%;
    height: 85%;
}

.cmlleft {
    float: left;
    width: 42.5%;
    height: 100%;
    overflow-y: scroll;
}
.cmlmid {
    float: left;
    width: 5%;
    height: 100%;
}
.cmlright {
    float: left;
    width: 52.5%;
    height: 100%;
    overflow-y: scroll;
}


/*Customer Account Page*/
.accpage {
    padding: 0px;
    background-color: #e1e1e1;
    font-size: 10pt;
    overflow: hidden;
    height: calc(100vh - 90px);
}
.acch {
    font-size: 16pt;
    font-weight:700;
}
.acclist {
    background-color: #e9e9e9;
    height: 30%;
    padding: 5px;
    overflow-x: hidden;
    overflow-y: auto
}
.accedit {
    height: 63%;
    padding: 5px;
    overflow-x: hidden;
    overflow-y: auto
}
.accbtn {
    height: 7%;
    overflow-x: hidden;
    overflow-y: hidden
}
.accbold {
    margin:5px;
    font-size: 10pt;
    font-weight: 700;
    float: left;
    line-height: 1.93em;
}
.accital {
    margin: 5px;
    font-style: italic;
    float: left;
    line-height: 1.93em;
}
.accinp {
    margin: 5px;
    float: left;
}

.content {
    /*padding-top: 1.1rem;*/
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.9);
}

/*Blazor*/
app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.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;
}

/*Resolution*/

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        height: 100vh;
    }

    .main .top-row {
        top: 0;
    }

    .main > div {
/*        padding-left: 2rem !important;
        padding-right: 1.5rem !important;*/
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}
