﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
    font-size:85%;
}

#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;
    }

/*Custom Styles*/
.um-btn-bar {
    border-bottom: 1px solid rgba(0,0,0,.125);
    /* border-top: 1px solid rgba(0,0,0,.125); */
    padding: 8px;
    margin-bottom: 10px;
    margin-left: -23px;
    margin-right: -24px;
    margin-top: -15px;
    padding-left: 10px;
    display: block;
    position: fixed;
    width: 100%;
    background: #ffffff;
    top: 62px;
    z-index:5;
}

.um-validation-message {
    color: red;
    font-size: 85%;
}

.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-container-entry {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.dialog {
    background-color: white;
    box-shadow: 0 0 12px rgba(0,0,0,0.6);
    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);
}

@keyframes dialog-entry {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateX(0px) scale(1.0);
    }
}

.form-group {
    margin-bottom: 5px;
}

.col-form-label{
    font-size: small;
}

/*.project-tab {
    padding: 10%;
    margin-top: -8%;
}*/

.project-tab #tabs {
    background: #007b5e;
    color: #eee;
}

.project-tab #tabs h6.section-title {
    color: #eee;
}

.project-tab #tabs .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #0062cc;
    background-color: transparent;
    border-color: transparent transparent #f3f3f3;
    border-bottom: 3px solid !important;
    font-size: 16px;
    font-weight: bold;
}

.project-tab .nav-link {
    border: 1px solid transparent;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
    color: #0062cc;
    font-size: 16px;
    font-weight: 600;
}

.project-tab .nav-link:hover {
    /*border: none;*/
    border-color: transparent transparent #dee2e6;
    border-bottom: 3px solid #0062cc !important;
}

.project-tab thead {
    background: #f3f3f3;
    color: #333;
}

.project-tab a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

/*.card{
    border:none;
}*/

@media (max-width: 960px) {
    .hideonmobile {
        display: none !important;
    }
}

.blazored-typeahead {
    border-radius: 0px !important;
    height: calc(1.5em + .5rem + 2px);
}

.blazored-typeahead__controls {
    border-radius: 0px !important;
    height: calc(1.5em + .5rem + 2px);
}

.blazored-typeahead__input {
    border-radius: 0px !important;
    height: calc(1.5em + .5rem + 0px);
}

    .blazored-typeahead__input[required] {
        border-radius: 0px !important;
        height: calc(1.5em + .5rem + 0px);
        border-left: solid !important;
        border-left-color: red !important;
    }

.blazored-typeahead__input-mask-wrapper--disabled {
    background-color: #e9ecef !important;
    cursor: default !important;
    border-radius: 0px 0 0 0px !important;
    color: grey !important;
    min-height: 28px !important;
    height: calc(1.5em + .5rem + 0px) !important;
}

.blazored-typeahead__input-icon {
    border-radius: 0px !important;
    padding-top: 2px !important;
    height: calc(1.5em + .5rem) !important;
}

.blazored-typeahead__multi-value {
    margin: 0.2rem 0 .2rem .4rem !important;
}

@media (max-width: 700px) {
    .mud-dialog-width-sm {
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        max-width: 100% !important;
        max-height: none !important;
        border-radius: 0 !important;
    }
}

/*#printDiv {
    display: none;
}

@media print {
    #printDiv {
        display: block;
    }
}*/

.example-print {
    display:none;
}

@media print {
    /*body {
        visibility: hidden;
        height: auto;
    }

    html {
        height: auto;
    }*/

    html, body {
        height: 100vh;
        margin: 0 !important;
        padding: 0 !important;
        /*overflow: hidden;*/
        visibility: hidden;
    }

    .mud-card {
        display:none;
    }

    .mud-dialog-container{
        display:none;
    }

    .cart-content{
        display:none;
    }

    .cart-summary{
        display:none;
    }

    .example-print {
        display: block;
        visibility: visible;
        position: absolute;
        top: 0px;
        left: 0px;
        width: 100%;
    }

    .report {
        display: block;
        visibility: visible;
        position: absolute;
        top: 0px;
        left: 0px;
        width:100%;
    }
}

.um-index-content {
    height: 500px;
    overflow: scroll;
}

.category-bar {
    white-space: nowrap;
    overflow-x: scroll;
}

input {
    border-radius: 0 !important;
}

    /* Chrome, Safari, Edge, Opera */
    input::-webkit-outer-spin-button,
    input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    /* Firefox */
    input[type=number] {
        -moz-appearance: textfield;
    }

.new-version-toast {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    background-color: #594ae2;
    padding: 10px;
    /*margin: 10px 30px;*/
    box-shadow: 6px 5px 5px grey;
    position: absolute;
    top: 60px;
    width: 400px;
    right: 10px;
    color: white;
    border-radius: 5px;
    font-size: larger;
    font-weight: 600;
    line-height: 30px;
}

.align-right input {
    text-align: right !important;
}