﻿/* customized for CDMS */


/*FOR UI*/

/*Fira Sans*/

@font-face {
    font-family: "Fira Sans";
    src: url('/fonts/FiraSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Fira Sans";
    src: url('/fonts/FiraSans-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: "Fira Sans";
    src: url('/fonts/FiraSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Fira Sans";
    src: url('/fonts/FiraSans-Light.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: "Fira Sans";
    src: url('/fonts/FiraSans-LightItalic.ttf') format('truetype');
    font-weight: 200;
    font-style: italic;
}


/*Tit*/
@font-face {
    font-family: "TitilliumWeb";
    src: url('/fonts/TitilliumWeb-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "TitilliumWeb";
    src: url('/fonts/TitilliumWeb-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: "TitilliumWeb";
    src: url('/fonts/TitilliumWeb-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "TitilliumWeb";
    src: url('/fonts/TitilliumWeb-Light.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: "TitilliumWeb";
    src: url('/fonts/TitilliumWeb-LightItalic.ttf') format('truetype');
    font-weight: 200;
    font-style: italic;
}

/*Source sans pro*/
@font-face {
    font-family: "SourceSansPro";
    src: url('/fonts/SourceSansPro-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "SourceSansPro";
    src: url('/fonts/SourceSansPro-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: "SourceSansPro";
    src: url('/fonts/SourceSansPro-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "SourceSansPro";
    src: url('/fonts/SourceSansPro-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: "SourceSansPro";
    src: url('/fonts/SourceSansPro-Light.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: "SourceSansPro";
    src: url('/fonts/SourceSansPro-LightItalic.ttf') format('truetype');
    font-weight: 200;
    font-style: italic;
}




/*END UI FONT DEFS*/





body, p, a, h1, h2, h3, h4, h5, span, fieldset, legend {
    font-family: 'Fira Sans';
}


a, .btn-link {
    color: #0366d6;
}

    /* unvisited link */
    a:link {
        color: inherit;
    }

    /* visited link */
    a:visited {
        color: inherit;
    }

    /* mouse over link */
    a:hover {
        color: inherit;
        text-decoration: underline;
    }

    /* selected link */
    a:active {
        color: none;
    }



/* BASIC PARTS*/

.bg-image {
    height: 100%;
    background: url("/images/cdms-background.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

app {
}




.content {
    padding-top: 0.5rem;
}

/*Validation*/

.valid.modified:not([type=checkbox]) {
    outline: 1px solid rgba(237, 252, 33, 0.26);
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.CAwarning {
    border: 3px solid red;
}

.RedLetters {
    color:red;
    font-weight:700;
}

/*UI BASED REPORTING PART*/

.listNarrow {
    text-rendering: optimizeLegibility;
    margin-bottom: 0.2rem;
}

/*UI BASED UNICODE */

.unicodeText {
    font-family: 'Arial Unicode MS';
}


/*TABs*/


.tabBack {
    background-color: #424242;
    margin-right: 1px;
    color: grey;
    padding: 10px;
    padding-left: 30px;
    padding-right: 30px;
    font-weight: normal;
    cursor: grab;
}

    .tabBack:focus {
        background-color: #4a6572;
        color: white;
        text-decoration: underline;
        font-weight: bold;
    }

.tabBackActive {
    background-color: #4a6572;
    color: white;
    text-decoration: underline;
    font-weight: bold;
}

.tabBack-sm {
    background-color: #424242;
    margin-right: 1px;
    color: grey;
    padding: 5px;
    padding-left: 30px;
    padding-right: 30px;
    font-weight: normal;
    cursor: grab;
}

   
    .tabBack-sm:hover {
        background-color: #4a6572;
        color: white;
        text-decoration: underline;
        font-weight: bold;
    }

    .tabBack-sm::selection {
        background-color: #4a6572;
        color: white;
        text-decoration: underline;
        font-weight: bold;
    }

.tabBack-smActive {
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
    background-color: #4a6572;
    color: white;
    text-shadow: 1px 1px 2px black;
    font-weight: bold;
}

/*TOOLTIP*/

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

    /* TooltipX text */
    .tooltip .tooltiptext {
        visibility: hidden;
        width: 120px;
        background-color: black;
        color: #fff;
        text-align: center;
        padding: 5px 0;
        border-radius: 6px;
        /* Position the tooltip text - see examples below! */
        position: absolute;
        z-index: 1;
    }

    /* Show the tooltip text when you mouse over the tooltip container */
    .tooltip:hover .tooltiptext {
        visibility: visible;
    }




/*Syncfusion RTF*/


.height150px {
    min-height: 150px;
}

/*Syncfusion Progress Buttons*/








/*UI*/

.hr-margin {
    margin-top:.4rem;
    margin-bottom: .4rem;
}

.borderGray {
    border: 2px;
    border-color: #444141;
    border-style: solid;
    border-radius: 10px;
}

.borderBlackFS {
    border: 1pt;
    border-color: black;
    border-style: solid;
    border-radius: 10px;
}

.NumericInput {
    color: orange !important;
    text-align: center !important;
    font-weight: bold;
}

.TextInput {
    color: orange !important;
    font-weight: normal;
}

.AttentionItem {
    color: lawngreen !important;
    font-weight: bold;
}

.AttentionBarGreen {
    border-left : 5px solid lawngreen;
    padding-left : 2px;
}

.AttentionItemOrangeX {
    color: orange !important;
    font-weight: bold;
}

.SelectItemAppearance {
    color: floralwhite;
    border-color: transparent !important;
}

.EchoPreviewTab {
    background: gold;
    font-weight: bold;
}

.LightRuler {
    border-top-color: darkslategray;
    border-top-width: 1px;
    border-top-style: solid;
    margin-right: 20px;
}

.BlurArea {
    filter: blur(3px) grayscale(1) !important;
    pointer-events: none;
}

.BlurAreaMild {
    filter: blur(1px) grayscale(1) !important;
    pointer-events: none;
}

.GrayAreaOnly {
    filter: grayscale(1) !important;
    pointer-events: none;
}

.TreeViewCssLevel1 {
    font-family: Merriweather;
    font-weight: bold;
    font-size: 11pt;
    text-rendering: optimizeLegibility;
    color: floralwhite;
}

.TreeViewCssLevel2 {
    font-family: Roboto;
    font-weight: bold;
    font-size: 11pt;
    text-rendering: optimizeLegibility;
    color: papayawhip;
    border-bottom: solid;
    border-bottom-color: rosybrown;
    border-bottom-width: 2px;
    padding-bottom: 3px;
}

.TreeIconLevel1 {
    color: orange;
    font-weight: bold;
    padding-left: 10px;
    padding-right: 10px;
}


/* ECT - ICD  */

.ctw-window {
    font-family: TitilliumWeb !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;
}



/*BLAZOR GOLD BAR*/

#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;
    }

/* Linespacing in coronary lesions     */

.pLesion {
    font-size: xx-small;
    line-height: 0.8rem;
    margin-bottom: 0px;
    margin-left: 4px;
}

/*Title bar animation */

.titlebarAnimation {
    background: linear-gradient(290deg, #001279, #122d26, #b30303);
    background-size: 600% 600%;
    -webkit-animation: AnimationName 17s ease infinite;
    -moz-animation: AnimationName 17s ease infinite;
    animation: AnimationName 17s ease infinite;
}

@-webkit-keyframes AnimationName {
    0% {
        background-position: 11% 0%
    }

    50% {
        background-position: 90% 100%
    }

    100% {
        background-position: 11% 0%
    }
}

@-moz-keyframes AnimationName {
    0% {
        background-position: 11% 0%
    }

    50% {
        background-position: 90% 100%
    }

    100% {
        background-position: 11% 0%
    }
}

@keyframes AnimationName {
    0% {
        background-position: 11% 0%
    }

    50% {
        background-position: 90% 100%
    }

    100% {
        background-position: 11% 0%
    }
}



/* scrollbar styling*/

/* Works on Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: black black;
}

    /* Works on Chrome, Edge, and Safari */
    *::-webkit-scrollbar {
        width: 12px;
    }

    *::-webkit-scrollbar-track {
        background: black;
    }

    *::-webkit-scrollbar-thumb {
        background-color: black;
        border-radius: 20px;
        border: 3px solid black;
    }



.widePopup {
    width: 500px !important;
}


/*Signal IR reconnect*/

#components-reconnect-modal {
    display: none;
    transition: visibility 0s linear 1000ms;
}


    #components-reconnect-modal.components-reconnect-failed,
    #components-reconnect-modal.components-reconnect-rejected {
        display: block;
    }


/*navbar */

.CdmsNavBar {
    overflow: hidden;
    background-color: #333;
    position: fixed; /* Set the navbar to fixed position */
    top: 0; /* Position the navbar at the top of the page */
    width: 100%; /* Full width */
    z-index: 1900;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.25);
}



/* Small devices (landscape phones, 320px and up) */
@media (min-width: 320px) {

    .pUI, .sUI {
        font-size: 1.0rem;
    }

    .dashboardHoriz {
        border-bottom: 1px solid gray;
    }

    .dashboardVert {
        border-right: 0px solid gray;
    }

    .dashboardPad {
        padding: 0.2em;
    }
}

/* Medium devices (tablets, 768px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 768px) {

    .pUI, .sUI {
        font-size: 0.9rem;
    }

    .dashboardHoriz {
        border-bottom: 1px solid gray;
    }

    .dashboardVert {
        border-right: 0px solid gray;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {

    .pUI, .sUI {
        font-size: 0.8rem;
    }

    .dashboardHoriz {
        border-bottom: 0px solid gray;
    }

    .dashboardVert {
        border-right: 1px solid gray;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

    .pUI, .sUI {
        font-size: 0.8rem;
    }

    .dashboardHoriz {
        border-bottom: 1px solid gray;
    }

    .dashboardVert {
        border-right: 0px solid gray;
    }
}
