@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('medical-webfont/font/css/wfmi-style.css');
@import url('bootstrapicons/bootstrap-icons.css');
@import url('boxicons/css/boxicons.css');
@import url('footprintsblazor.css');

html, body, #app {
   height: 100%;
   overflow: hidden;
   font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
   font-size: 14px;
}

/* Change all checkboxes and radio buttons to green when selected.
input[type="checkbox"]:checked {
   background: #139176;
}
input[type="radio"]:checked {
   background: #139176;
}
    */

/* Telerik Window Title Size */
.k-window-title {
   font-size: 14px;
}


 /* Change the text selection color */
::-moz-selection { /* Code for Firefox */
    color: white;
    background: rgb(19,145,118); /*#28a745;*/
}
::selection {
    color: white;
    background: rgb(19,145,118); /*#28a745;*/
}

.unselectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.fp-tab-inactive {
    margin-right: 2px;
    padding: 3px 7px 3px 7px;
    text-align: center;
    border-style: solid solid solid solid;
    border-width: 1px 1px 1px 1px;
    border-color: darkgray;
    border-radius: 7px 7px 0px 0px;
    background-color: #CAD2C1;
    color: black;
    font-style: normal;
    cursor: pointer;
    max-width: 150px;
    max-height: 30px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fp-tab-active {
    margin-right: 2px;
    padding: 3px 7px 3px 7px;
    text-align: center;
    border-style: solid solid none solid;
    border-width: 2px 1px 0px 1px;
    border-color: darkgray;
    border-radius: 7px 7px 0px 0px;
    background-color: #139176;
    color: white;
    font-style: oblique;
    cursor: pointer;
    max-width: 150px;
    max-height: 30px;
    overflow: hidden;
    text-overflow: ellipsis;
}

#app {
    background-color: inherit;
}

/* loading page (index.html) */
.vhCenterIndex {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
    height: 100vh;
}

/* loading page (index.html) */
.vhCenter {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 85vh;
    height: 85vh;
}
.vhCenter70 {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 70vh;
    height: 70vh;
}

/******************************************************/
/* Footprints toolbar (top) and menu (left / sidebar) */

.fp-button-color {
    background-color: #139176;
    /*color: white;*/
}
.fp-backcolor {
    background-color: #CAD2C1 !important;
}
.fp-forecolor {
    color: #139176;
}

.fp-nav-icon-color {
    color: #139176;
}

.fp-app-header {
    position: fixed;
    display: fles;
    background-color: #DCE0C9;
    border-bottom: 1px solid #849DBD;
    height: 3.5rem;
    align-items: center;
    text-align: center;
    width: 100%;
}

fp-menu-header {
    display: fles;
    justify-content: flex-start;
    text-align: left;
    width: 400px;
}

.fp-toolbar {
    display: fles;
    justify-content: flex-end;
    width: 100%;
    text-align: center;
}

.fp-menu-sidebar {
    background-image: linear-gradient(135deg, rgb(170, 190, 142) 50%, rgb(254, 254, 254) 100%);
    top: 200px;
    display: block;
    position: sticky;
    border: 1px solid #849DBD;
}

fp-tab-template {
    background-color: #139176;
    padding: 7px 7px;
    text-align: center;
    border: 2px solid red;
    border-radius: 2px;
    color: white;
    cursor: pointer;
/*    width: 200px;*/
}

.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;
    }

.timeptstatgrp {
    display: flex;
    align-items: center;
}

.loading-progress {
   position: relative;
   display: block;
   width: 8rem;
   height: 8rem;
   margin: 20vh auto 1rem auto;
}

   .loading-progress circle {
      fill: none;
      stroke: #e0e0e0;
      stroke-width: 0.6rem;
      transform-origin: 50% 50%;
      transform: rotate(-90deg);
   }

      .loading-progress circle:last-child {
         stroke: #1b6ec2;
         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, "Loading");
   }

/* Progress Bar Override */

progress[value] {
    appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 3px;
    box-shadow: 0 2px 3px rgba(0,0,0,.5) inset;
    position: relative;
    margin: 0 0 1.5em;
}
progress[value]::-webkit-progress-bar {
    background-color: whiteSmoke;
    border-radius: 3px;
    box-shadow: 0 2px 3px rgba(0,0,0,.5) inset;
}

progress[value]::-webkit-progress-value {
    position: relative;
    background-size: 35px 20px, 100% 100%, 100% 100%;
    border-radius: 3px;
    animation: animate-stripes 5s linear infinite;
}

@keyframes animate-stripes {
    100% {
        background-position: -100px 0;
    }
}

 /*Let's spice up things little bit by using pseudo elements.*/ 
progress[value]::-webkit-progress-value:after {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    top: 7px;
    right: 7px;
    background-color: white;
    border-radius: 100%;
}

 /*Firefox provides a single pseudo class to style the progress element value and not for container. -moz-progress-bar*/ 
progress[value]::-moz-progress-bar {
    background-image: -moz-linear-gradient( 135deg, transparent, transparent 33%, rgba(0,0,0,.1) 33%, rgba(0,0,0,.1) 66%, transparent 66%), -moz-linear-gradient( top, rgba(255, 255, 255, .25), rgba(0,0,0,.2)), -moz-linear-gradient( left, #09c, #f44);
    background-size: 35px 20px, 100% 100%, 100% 100%;
    border-radius: 3px;
}


.loading-progress {
   position: relative;
   display: block;
   width: 8rem;
   height: 8rem;
   margin: 20vh auto 1rem auto;
}

   .loading-progress circle {
      fill: none;
      stroke: #e0e0e0;
      stroke-width: 0.6rem;
      transform-origin: 50% 50%;
      transform: rotate(-90deg);
   }

      .loading-progress circle:last-child {
         stroke: #1b6ec2;
         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, "Loading");
   }