﻿:root {
    --tr-color-primary: #003C71; /* color01/primary/blue */
    --tr-color-secondary: #B7BF10; /* color01/secondary/lime */

    /* Override some kendo variables */
    --kendo-font-family: Poppins;
}

.tr-primary {
    color: var(--tr-color-primary, inherit);
}

.tr-secondary {
    color: var(--tr-color-secondary, inherit);
}

.tr-icon-primary {
    color: var(--tr-color-primary, inherit);
}

.tr-icon-secondary {
    color: var(--tr-color-secondary, inherit);
}

.tr-icon-button-primary {
    color: #FFFFFF;
}

.tr-icon-button-error {
    background-color: #FFFFFF !important;
    color: #EF3340 !important;
    border-color: #EF3340 !important;
}

.tr-icon-button-tertiary {
    background-color: #FFFFFF !important;
    color: #000000 !important;
    box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.12) !important;
    border-radius: 4px !important;
    border-color: grey !important;
    border: none !important;
}

.tr-action-item {
    cursor: pointer;
}

.tr-input {
    width: 160px;
}

.tr-input-dual {
    width: 95px;
}

.tr-d-none {
    display: none !important;
}

.error-ui {
    color: red;
    font-weight: bold;
}

#blazor-error-ui {
    display: none;
    padding: .75rem 1.25rem;
    position: fixed;
    width: 30vw;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999999;
    color: #856404;
    background-color: #fff3cd;
}

    #blazor-error-ui > div {
        padding: 1rem 0 .3rem 0;
    }

    #blazor-error-ui .reload {
        padding: .5rem;
        color: #212529;
        background-color: #ffc107;
        text-decoration: none;
    }

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

html, body {
    font-family: var(--kendo-font-family, inherit) !important;
    font-size: 14px;
}
/*@media (min-width: 768px) {
  html, body {
    font-size: 16px;
  }
}*/


.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: var(--tr-color-primary, inherit);
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: var(--tr-color-primary, inherit);
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "");
    }



.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

/* Material header styles
-------------------------------------------------- */
.header {
    background-color: white;
    border-bottom: 1px solid lightgray;
    padding-left: 16px;
    padding-right: 16px;
    font-weight: 700;
}
    .header > div {
        height: 48px !important;
    }
.header-start {
    align-items: flex-end;
}
.header-end {
    align-items: center;
}
.header-title {
    font-size: 24px;
    margin-left: 8px;
}
.main {
    /* Adjust for header */
    height: calc(100vh - 49px);
    overflow-x: auto;
    /* Margin breaks some Telerik controls, e.g. DropDownList. Padding seems OK. */
    /*margin-top: 49px;*/
    padding-top: 49px;
}

/* Material responsive styles
-------------------------------------------------- */

@media (min-width: 840px) {
    .mdc-layout-grid-hide-desktop {
        display: none;
    }
    .mdc-layout-grid-show-desktop {
        display: block;
    }
}

@media (min-width: 600px) and (max-width: 839px) {
    .mdc-layout-grid-hide-tablet {
        display: none;
    }
    .mdc-layout-grid-show-tablet {
        display: block;
    }
}

@media (max-width: 599px) {
    .mdc-layout-grid-hide-phone {
        display: none;
    }
    .mdc-layout-grid-show-phone {
        display: block;
    }
}

/* Sticky footer styles
-------------------------------------------------- */
/*html {
  position: relative;
  min-height: 100%;
}*/

/*body {*/
  /* Margin bottom by footer height */
  /*margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;*/ /* Vertically center the text there */
/*}*/


/* Figma design styles
-------------------------------------------------- */

.tr-card-input-vertical-container {
    display: flex;
    flex-flow: column nowrap;
    align-items: stretch;
    /*gap: 8px;*/
}

.tr-fab {
    border-radius: 50px !important;
    height: 40px;
    min-width: 120px;
}

/* Telerik overrides
-------------------------------------------------- */
.k-button {
    text-transform: uppercase;
}
