﻿/*
    This file is to show how CSS and other static resources (such as images) can be
    used from a library project/package.
*/

.form-control {
    padding: .3em;
    margin: .2em;
    cursor: pointer;
}

.my-component {
    border: 2px dashed red;
    padding: 1em;
    margin: 1em 0;
    background-image: url('background.png');
}

.SelectMode {

}

.BrowseMode {
    background-color: lightgray;
}

div.BrowseMode {
    background-color:unset;
}

.overlay {
    background: #ffffff;
    color: #666666;
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 5000;
    top: 0;
    left: 0;
    float: left;
    text-align: center;
    padding-top: 25%;
    opacity: .80;
}

.ListTitleDiv {
    font-size: large;
    font-weight: bold;
}

/* This overrides the Radzen default-base.css */
.rz-splitbutton .rz-button, .rz-splitbutton .rz-paginator-element {
    background-color: #6c757d;
    font-size: .875rem;
    border-style: outset;
    border-color: #6c757d;
    border-width: 2px;
}

/* This overrides the Radzen default-base.css */
.rz-splitbutton-menubutton {
    border-left: groove 1px #6c757d;
}



.SelectMyPatientsDiv {
}

.MultiSelectHeaderTemplateDiv {
    font-weight: bold;
}

.witsPrimaryButton {
    background-color: #094B8F;
    color: white;
    border-radius: 15px;
    padding: 10px
}

.witsSecondaryButton {
    background-color: #886708;
    color: white;
    border-radius: 15px;
    padding: 10px
}

.witsTertiaryButton {
    background-color: #A82F0B;
    color: white;
    border-radius: 15px;
    padding: 10px
}

.witsNeutralButton {
    background-color: #C2BDBC;
    color: black;
    border-radius: 15px;
    padding: 10px;
}

.okayButton {
    width: 40%;
    min-width:4em;
}

.cancelButton {
    width: 30%;
    min-width: 4em;
}

.HCSDropdownButton {
    position: relative;
}

.HCSDropdownButton-Description {
    color:slategray;
}

.HCSDropdownButton-ExpandCollapseButton {
    margin-left: -4px;
}

.HCSDropdownButton-Dropdown {
    position: absolute;
    box-shadow: 8px 8px 16px 0px rgba(0,0,0,0.2);
    background-color: transparent;
    
    margin-left: .75em;
    z-index: 9999;
    width: max-content;
}

.BackButton {
    cursor: pointer;
}

.ExpandCollapseSwitch {
    cursor: pointer;
}

.ExpandCollapseSwitchText {
    border-top:solid;
    border-bottom:solid;
    border-right:solid;
    border-width:1px;
    border-radius:2px;
}

.HCSDropdownButton-ItemButton {
    width: 100%;
}

.ActiveSearchBox {
}

.ActiveSearchComponent {
    position: relative;
}

.ActiveSearchList {
    position: absolute;
    top:2.5em;
    left:.5em;
    box-shadow: 8px 8px 16px 0px rgba(0,0,0,0.2);
    background-color: white;
    padding-left: .75em;
    padding-right: .75em;
    z-index:9999;
    width: max-content;
    max-height: 12em;
    overflow-y:scroll;
}

.HCSTextBoxSuggestionList {
    position: absolute;
    box-shadow: 8px 8px 16px 0px rgba(0,0,0,0.2);
    background-color: white;
    padding-left: .75em;    
    margin-left:2em;
    z-index: 9999;
    width: max-content;
    max-height: 12em;
    overflow-y: scroll;
    border-radius: 10px;
}

.HCSTextBoxSuggestionItem {
    color:lightsteelblue;
}


.TextBoxAsText+label {
    margin-left:1em;
}

.TextBoxAsText + .TextBoxAsText {
    margin-left: 1em;
}

select+label {
    margin-left:1em;
}

.TreeViewColumnHeader {
    font-weight:bold;
}

.HCSTreeViewItem {
    cursor: pointer;
    padding: 3px;
    margin: 1px;
    border: 0px solid lightgray;
    min-width: 10em;
    background: white;
    z-index: 2;
    position: relative;
}

.HCSTreeViewTextItem {
    background: white;
    z-index: 2;
    position: relative;
    padding: 3px;
}

.HCSTreeViewTextItem > span {
    vertical-align: sub;
}

.Design0.HCSTreeViewItem {
}

.Design0.HCSTreeViewItem-Selected {
    background-color: lightskyblue;
}

.Design0.HCSTreeViewTextItem {
    color: darkslategray;
}

.Design0.HCSTreeViewItemIndent {
    width: 1.5em;
    height: 1em;
    display: inline-block;
}

.Design0.HCSTreeViewItemExpandIcon {
    font-family: 'Material Icons';
    font-size: 1.5em;
    width: 1em;
    height: 1em;
    cursor: pointer;
}

.Design0.HCSTreeViewItemImage {
    width: 1em;
    height: 1em;
}

.Design0.HCSTreeView .HCSTreeViewItemExpandIcon.More::before {
    content: "chevron_right";
}

.Design0.HCSTreeView .HCSTreeViewItemExpandIcon.Less::before {
    content: "expand_less";
}






.Design1.HCSTreeView div {
    border-top: 1px gainsboro solid;
    overflow: hidden;
    padding: 0.1em;
}

.Design1.HCSTreeView div:nth-of-type(even) {
    background-color: #eeeeee;
}

.Design1.HCSTreeViewItem {
}

.Design1.HCSTreeView .HCSTreeViewItem-Selected {
    background-color: lightskyblue;
}

.Design1.HCSTreeView .HCSTreeViewTextItem {
    color: darkslategray;
}

.Design1.HCSTreeView .HCSTreeViewItemIndent {
    width: 1.5em;
    height: 1em;
    display: inline-block;
}

.Design1.HCSTreeView .HCSTreeViewItemExpandIcon {
    font-family: 'Material Icons';
    font-size: 1.5em;
    width: 1em;
    height: 1em;
    cursor: pointer;
}

.Design1.HCSTreeView .HCSTreeViewItemImage {
    width: 1em;
    height: 1em;
}

.Design1.HCSTreeView .HCSTreeViewItemExpandIcon.More::before {
    content: "chevron_right";
}

.Design1.HCSTreeView .HCSTreeViewItemExpandIcon.Less::before {
    content: "expand_less";
}


.Design1.HCSTreeView > section.HCSTreeViewItemGroup > div > span::before {
    content: none;
    margin-right: 0.3em;
}


.Design1.HCSTreeView > div > span:nth-of-type(2)::before {
    content: none;
    margin-right: 0.3em;
}




.Design2.HCSTreeView div {
    /*overflow: hidden;*/
}


.Design2.HCSTreeView .HCSTreeViewItem {
    
}

.Design2.HCSTreeView .HCSTreeViewItem-Selected {
    background-color: lightskyblue;
}

.Design2.HCSTreeView .HCSTreeViewTextItem {
    color: darkslategray;
}

.Design2.HCSTreeView .HCSTreeViewBeforeItem {
    
}


.HCSTreeViewItemIndent0 {
    
}

.HCSTreeViewItemIndent1 {
    padding-left: 1.5em;
    display: flex;
}

.HCSTreeViewItemIndent2 {
    padding-left: 3.0em;
    display: flex;
}

.HCSTreeViewItemIndent3 {
    padding-left: 4.5em;
    display: flex;
}

.HCSTreeViewItemIndent4 {
    padding-left: 6em;
    display: flex;
}

.HCSTreeViewItemIndent5 {
    padding-left: 7.5em;
    display: flex;
}

.HCSTreeViewItemIndent6 {
    padding-left: 9em;
    display: flex;
}

.HCSTreeViewItemIndent7 {
    padding-left: 10.5em;
    display: flex;
}

.HCSTreeViewItemIndent8 {
    padding-left: 12em;
    display: flex;
}

.HCSTreeViewItemIndent9 {
    padding-left: 13.5em;
    display: flex;
}

.HCSTreeViewItemIndent10 {
    padding-left: 15em;
    display: flex;
}

.HCSTreeViewItemIndent11 {
    padding-left: 16.5em;
    display: flex;
}

.HCSTreeViewItemIndent12 {
    padding-left: 18em;
    display: flex;
}

.HCSTreeViewItemIndent13 {
    padding-left: 19.5em;
    display: flex;
}

.HCSTreeViewItemIndent14 {
    padding-left: 21em;
    display: flex;
}

.HCSTreeViewItemIndent15 {
    padding-left: 22.5em;
    display: flex;
}

.HCSTreeViewItemIndent16 {
    padding-left: 24em;
    display: flex;
}

.HCSTreeViewItemIndent17 {
    padding-left: 25.5em;
    display: flex;
}

.HCSTreeViewItemIndent18 {
    padding-left: 27em;
    display: flex;
}

.HCSTreeViewItemIndent19 {
    padding-left: 28.5em;
    display: flex;
}

.HCSTreeViewItemIndent20 {
    padding-left: 30em;
    display: flex;
}

.HCSTreeViewItemIndent21 {
    padding-left: 31.5em;
    display: flex;
}

.Design2.HCSTreeView .HCSTreeViewItemExpandIcon {
    font-family: 'Material Icons';
    font-size: 1.5em;
    width: 1em;
    height: 1em;
    cursor: pointer;
    display: inline-block;
}

.Design2.HCSTreeView .HCSTreeViewItemExpandIcon.More::before {
    content: "control_point";
    display: block;
    transform: translate(-0.07em, 0.3em);
}

.Design2.HCSTreeView .HCSTreeViewItemExpandIcon.Less::before {
    content: "remove_circle_outline";
    color: gray;
    display: block;
    transform: translate(-0.07em, 0.3em);
}

.Design2.HCSTreeView .HCSTreeViewItemImage {
    width: 1em;
    height: 1em;
}

.Design2.HCSTreeView .HCSTreeViewItemWithLines::before {
    position: relative;
    border-left: 1px black dotted;
    border-bottom: 1px black dotted;
    padding-left: 1em;
    width: .5em;
    height: 100%;
    content: "";
    /*top: -0.3em;*/
    display: inline-block;
    margin-top: -0.9em;
    padding-right: .2em;
    float: left;
    z-index: 0;
    border-radius: 0 0 0 4px;
}

---Design2.HCSTreeView::before {
    content: "folder_open";
    font-family: "Material Icons";
    padding-left: 0.8em;
    background-color: white;
    font-size: 2em;
}


.Design2.HCSTreeView > section.HCSTreeViewItemGroup > div > span::before {
    content: none;
    margin-right: 0.3em;
}


.Design2.HCSTreeView > div > span:nth-of-type(2)::before {
    content: none;
    margin-right: 0.3em;
}




.Design3.HCSTreeView div {
    border-top: 1px gainsboro solid;
    overflow: hidden;
    padding: 0.1em;
}

.Design3.HCSTreeView div:nth-of-type(even) {
    background-color: #eeeeee;
}

.Design3.HCSTreeViewItem {
}

.Design3.HCSTreeView .HCSTreeViewItem-Selected {
    background-color: lightskyblue;
}

.Design3.HCSTreeView .HCSTreeViewTextItem {
    color: darkslategray;
}

.Design3.HCSTreeView .HCSTreeViewItemIndent {
    width: 1.5em;
    height: 2em;
    display: inline-block;
}

.Design3.HCSTreeView .HCSTreeViewItemExpandIcon {
    font-family: 'Material Icons';
    font-size: 1.5em;
    width: 1em;
    height: 1em;
    cursor: pointer;
}

.Design3.HCSTreeView .HCSTreeViewItemImage {
    width: 1em;
    height: 1em;
}

.Design3.HCSTreeView .HCSTreeViewItemExpandIcon.More::before {
    content: "add";
    border:0.1em gray solid;
    border-radius:5px;
    display:inline-block;
}

.Design3.HCSTreeView .HCSTreeViewItemExpandIcon.Less::before {
    content: "remove";
    color: gray;
    border: 0.1em gray solid;
    border-radius: 5px;
    display: inline-block;
}


.Design3.HCSTreeView .HCSTreeViewItemWithLines::before {
    position: relative;
    border-left: 1px black dotted;
    border-bottom: 1px black dotted;
    padding-left: 1em;
    width: 2em;
    height: 2em;
    content: "";
    top: -0.3em;
    display: inline-block;
    margin-top: -0.4em;
}

---Design3.HCSTreeView::before {
    content: "folder_open";
    font-family: "Material Icons";
    padding-left: 0.8em;
    background-color: white;
    font-size: 2em;
}

.Design3.HCSTreeView > section.HCSTreeViewItemGroup > div > span::before {
    content: none;

}

.Design3.HCSTreeView > div > span:nth-of-type(2)::before {
    content: none;
    margin-right: 0.3em;
}






.DurationComponent {
}


.DurationNumberBox{
    width: 4em !important;
    display:inline !important;
}

.DurationUnitsBox{
    width: 6em !important;
    display:inline;
}

.DateTimeBox {
    white-space: nowrap;
    cursor: pointer;
}

.DateBox {
    width: 8em;
    display: inline;
    padding-left: .1em;
    padding-right: .1em;
    cursor: pointer;
}

.TimeBox {
    width: 5em;
    display: inline;
    padding-left: .1em;
    padding-right: .1em;
    cursor: pointer;
}

.RadioButton {
    cursor: pointer;
}

.RadioButtonLabelEditSelected {
    font-weight: bold; 
    cursor: pointer;
}

.RadioButtonLabelEditNotSelected {
    
    cursor: pointer;
}

.RadioButtonLabelBrowseSelected {
    
}

.RadioButtonLabelBrowseNotSelected{
    color:darkgray;
}


.RadioButtons {
    display: inline-table;
}

.DarkMode .RadioButtons {
    color: darkgray;
}

.RadioButtonsHiddenOnSmall {

}

.RadioButtonsSelectBoxShownOnSmall {
    display:none;
}

@media (max-width:400px) {
    .RadioButtonsHiddenOnSmall {
        display:none;
    }

    .RadioButtonsSelectBoxShownOnSmall {
        display: inline;
    }
}



.AlternateRow {
    background-color:lightsteelblue;
    
}

.DefaultRow {
    background-color: lightgray;
}

.AlternateRow .AlternateRow {
    background-color:white;
}

.DefaultRow .DefaultRow {
    background-color: white;
}

.DefaultRow .AlternateRow {
    background-color: white;
}

.AlternateRow .DefaultRow {
    background-color: white;
}

.FieldLabel {    
    margin-right: .1em;
}

.BrowseMode .FieldLabel {
    color: darkgray;
}

.BrowseMode .AlternateRow .FieldLabel {
    color: gray;
}

.BrowseMode .DefaultRow .FieldLabel {
    color: gray;
}

label + .FieldLabel {
    margin-left: 1em;
}

label + .DateTimeBox {
    margin-left: 1em;
}

.FieldLabel + label {
    margin-left: 1em;
}

span + .FieldLabel {
    margin-left: 1em;
}

select + .FieldLabel {
    margin-left: 1em;
}

label + label {
    margin-left: 1em;
}

.EditModeComponentPanelItemLine {
    margin-bottom: .25em;
    padding: .25em;
    position:relative;
}

.EditModeComponentPanelSelectedText {
    /*background-color: lightgreen;*/
    margin-right: .25em;
    border: dashed;
    border-color: gray;
    padding: .25em;
}

.EditModeComponentPanelSelectedGroupBox {
    border: none;
    border-radius: 4px;
    border-color:lightgray;
    margin-left: 1em;
    padding:.5em;
}

.EditModeComponentPanelItemLineSelected {
    /*background-color: lightgreen;*/
    border:dashed;
    border-color:gray;
}

.EditModeComponentPanelItem{

}

.LineDeleted {
    opacity: 0.6;
    background: repeating-linear-gradient( -45deg, #d8d8e9, #d8d8e9 2px, #e5e5f7 2px, #e5e5f7 10px );
}

.LineDeletedOverlay {
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    z-index: 50;
}


.EditModeComponentPanelEditButtons {
    margin-top: .5em;
}

.EditModeComponentPanelAddButton {
}

.EditModeComponentPanelDeleteButton{
    margin-right: 1em;
}

.Button {
    border-radius: 4px;
}

.ButtonWarning {
    border-radius: 4px;
    background-color: #ffc107;
}




.ListViewCell {
    border-radius:4px;
    padding-left:.2em;
}

.ListViewTiles {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.ListViewTilesColumns {
    margin-bottom: .25em;
    overflow-y: scroll;
    max-width: calc(100vw - 6em);
}

.ListViewTilesColumnHeader {
    border: solid;
    border-width: 1px;
    border-color: lightgray;
    padding:.2em;
}

.ListViewTilesColumnHeaderSortedOn{
    font-weight:bold;
}

.ListViewTilesColumnHeaderSortable {
    cursor: pointer;
}

.ListViewTile {
    display: inline-block;
    border: solid;
    border-width: 1px;
    padding: .25em;
    border-radius: 5px;
    margin-bottom: .25em;
    box-shadow: 2px 2px 4px 0px rgba(0,0,0,0.2);
}

.ListViewTileLine {
    display:block;
    font-size:.9em;
}

.ListViewTilePicture {
    border:solid;
    border-width:1px;
    float:left;
    width:75px;
    height:75px;
    margin-right: .2em;
}

.ListViewTilePictureCondensed {
    border: solid;
    border-width: 1px;
    float: left;
    width: 35px;
    height: 35px;
    margin-right: .2em;
}

.ListViewTileLineForSortColumn {
    font-weight:900;
}

.ListViewSelectedItem {
    border:dashed;
    border-color: lightgray;
    cursor: pointer;
}

.ListViewCheckBoxCell {
    background-color: lightgray;
    width:1em;
}

.ListViewCalculatingStyle {
    color: darkred;
    font-weight: bold;
}

.ListViewNotStyledYet {
    background-color: #f1f2f3;
    background-image: linear-gradient(rgba(0,0,0,.015) 1px, transparent 1px), linear-gradient(0, rgba(0,0,0,.015) 1px, transparent 1px);
    background-size: 5px 5px;
    background-position: -1px -1px, -1px -1px
}

.ListViewItemActions {
    position: sticky;
    top: 0;
    margin-top: 2.5em;
    margin-left: .5em;
    width: 7.5em;
    flex-grow: 0;
    height: 100%;
}

    .ListViewItemActions .Button {
        width: 100%;
    }

    .ListViewItemActions .ToolStripButton {
        width: 100%;
    }


.MultiItemSelectorCheckMark {
    height: 1em;
    width: 1em;
}

.MultiItemSelectorUnchecked {
    display:inline-block;
    height:1em;
    width:1em;
}

.MultiItemSelector-Item{
    display:inline;
    cursor:grab;
}

.BarcodeScanImage{
    width: 2em;
    height: 1.5em;
}

.PromptListModal-List{
    overflow: scroll;
}

.PromptListButtonDiv {
    margin-top:.3em;
}

.PromptListButtonDiv button {
    width: 100%;
    text-align: left;
}

.display-item-highlight {
    width: 95vw;
    background-color: #ffd800;
    border: 1px #000000 solid;
    padding: 2px;
}


.HCSCheckBox {
    margin-right:.25em;    
    height:.9em;
    width:.9em;
    cursor: pointer;
}

.CheckBoxBrowse .HCSCheckBox {
    cursor: unset;
}

.HCSCheckBoxLabel {
    cursor: pointer;
}

    .HCSCheckBoxLabel.CheckBoxBrowse
    {
        cursor:unset;
    }

.StreamComponentFrame {
    width: 100%;
    height: 100%;
    border: none;
}

.StreamComponentFrameInModal {
    width: 80vw;
    height: 80vh;
    border: none;
}

.PromptTextBox {
    width: 40em;
}

.PromptTextBox.MultiLine {
    height:10em;
}

.ImageEditorCanvas {
    border: 1px gray solid;
}

.DataEntryComponentToolbar {
    margin-bottom: 1em;
}

.DataEntryComponentListView {
    max-height: 16em;
    overflow-y: scroll;
    margin-bottom: 1em;
    border-bottom: solid;
    border-width: 1px;
    max-width:calc(100vw - 2em);
}

.DataEntryFieldLabel {

}

.OrderSetsPageSortingListView {
    max-height: 30em;
    overflow-y: scroll;
}

.StampImage {
    width:10em;
    height:10em;
}

/*.PromptComponentModalDiv {
    max-height: 80vh;
    overflow:scroll;
}*/

.SelectBoxHintText {
    color:lightgray;
}

#webCamComponentSelectCamera {

}

.SortArrow {
    cursor:pointer;
    border:solid;
    padding:02px;
    border-radius:3px;
    border-color:gray;
    border-width:1px;
}

table .DarkMode {
    color:#eee;
}


.hcstooltip-wrapper {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
    cursor: help;
}

.hcstooltip-wrapper span {
    visibility: hidden;
    position: absolute;
    min-width: 120px;
    bottom: 100%;
    left: 50%;
    margin-left: -50px;
    background-color: #363636;
    color: #fff;
    text-align: center;
    padding: 5px;
    border-radius: 6px;
    z-index: 5;
}

.hcstooltip-wrapper span::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.hcstooltip-wrapper:hover span {
    visibility: visible;
}



.line-divider {
    --c: #000; /* color */
    --t: 1px; /* thickness */
    --g: 40px; /* gap */
    --d: 10px; /* control the dashes */
    --a: 0deg; /* degree */

    background: linear-gradient(var(--a),var(--c) var(--t),#0000 0) 0/calc(4*var(--g)) 100%, conic-gradient(at var(--t) 50%,#0000 75%,var(--c) 0) 0/var(--g) var(--d);
    background-clip: padding-box;
    min-height: 100vh;
    border: solid #0000;
    border-width: 0 var(--g);
}
.GroupBox {
    border: solid;
    border-color: lightgray;
    border-radius: 4px;
    padding-left: .5em;
    padding-right: .5em;
    margin-top: .5em;    
}

.DefaultRow .GroupBox {
    border-color:gray;
}

.Indent {
    display:inline-block;
    width:1em;
}

table, .table {
    /*border-collapse: separate;*/
}

/*th span {
    border: 1px solid #575757;
    display: block;
    padding: 3px;
    margin: 0;
    border-left: 0;
    border-right: 0;
    margin-top: -5px;
    padding-bottom: 10px;
    margin-bottom: -5px;
}*/


.HiddenSelectorButton {
	width: 0px;
	height: 0px;
	border: 0;
	outline: none;
	box-shadow: none;
	background-color: transparent;
	display: flow;
}

.HiddenTableRow {
    width: 0;
    height: 0;
    opacity: 0;
    font-size: 1px;
    line-height: 0px;
    position:relative!important;
}

.UnitsLabel + .SelectBox {
    margin-left: 1em;
}

