﻿* {
    padding: 0;
    margin: 0;
    outline: 0;
    border: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    background: #ffffff;
    background-size: 600%;
    background-position: 0% 100%;
    position: absolute;
    left: 0;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.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;
}

#valid-styling {
    color: red;
}

/* Spinner */
.spinner {
    border: 16px solid silver;
    border-top: 16px solid #337AB7;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 700ms linear infinite;
    top: auto;
    left: 45%;
    position: sticky;
    margin-top: 4%;
}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

.link-without-underline {
    text-decoration: none !important;
}

.datagrid-disable-selection table {
    pointer-events: none;
}

/* This rule is needed to move blazored toast lower because default value will collide with the header */
.blazored-toast-container.position-topright {
    top: calc(2rem + 60px) !important;
}

/* Syncfusion grid*/
.e-grid .e-rowcell {
    border: none !important;
    padding-top: 3px !important;
    padding-bottom: 3px !important;
    cursor: pointer;
}

.e-columnheader {
    background-color: #f2f2f2;
}

.e-grid.e-resize-lines .e-headercell .e-rhandler, .e-grid.e-resize-lines .e-headercell .e-rsuppress {
    border: none !important;
}

.e-gridheader {
    /*fix of the header cell border*/
}

th.e-headercell.e-centeralign {
    background-color: #F5F8FA !important;
}

.main > .content {
    padding: 0 5px 16px 5px;
}

th.e-headercell {
    background-color: #f5f8fa !important;
}

.text-box {
    width: 100%;
}

.grid-view-button:hover {
    text-decoration: underline;
}

.e-grid .e-altrow {
    background-color: #f5f5f5;
}

.txt {
    color: blue;
}

.txt:hover {
    text-decoration: underline;
    cursor: pointer;
}

/* Card Layout */
.layout-container {
    margin: 0 auto;
}

.layout-card-decoration-container {
    display: grid;
    grid-template-columns: 80px auto 200px;
    margin-top: 1rem;
}

.layout-card-decoration-container .layout-card {
    min-width: 400px;
}

.layout-card {
    border: 1px solid #d0d7dd;
    background: #ffffff;
    padding: 1.5rem;
}

.layout-card.layout-card-error {
    border: 1px solid #dd7f7f;
}

.layout-table td {
    border: 1px solid #d0d7dd;
    padding: .2rem .8rem;
}

.layout-table tr:hover td {
    background: #e2e8eb;
}

.layout-table tr:nth-child(odd) {
    background: #f0f3f5;
}

.layout-card-title {
    color: #134169;
}
