/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

@media (prefers-color-scheme: dark) {
    body {
        --background-image: null;
        --background: #1F1F1F;
        --font-color: whitesmoke;
        --highlight: #393939;
        --highlight-2: #414648;
        --link: #3ca4ff;
        --loading-color-image: #1A1915;
        --textbox_background_color: #1F1F1F;
        --errormessage-color: indianred;
        --text-color: whitesmoke;
        --button-color: #D4D4D4;
        --button-color-background: linear-gradient(to bottom, #AAAAAA 0%,#A1A1A1 25%,#999999 49%, #828282 51%,#5C5C5C 100%);
        --navbarmessage_color: #b4bec7;
        --navbarmessage-color-hover: white;
        --header-color: #ababab;
        --loginbox-border: 2px solid whitesmoke;
        --param-border-color: #A4A4A4;
        --param-select-odd: #333333;
        --param-select-even: black;
        --ui-widget-content-background: #1F1F1F;
        --ui-widget-content-color: whitesmoke;
        --logo-url: url(/images/Night.png) no-repeat;
        --logo-small-url: url(~/images/NightSmall.png) no-repeat;
        --rz-datatable-even-background: #1A1915;
        --rz-datatable-odd-background: black;
        --rz-selectable: rgba(69, 86, 93, 0.9);
        --rz-lookup-panel: #1F1F1F;
        --logo-url-svg: url(../images/cis-dark.svg) no-repeat;
        
        --rz-dropdown-open-background-color: black;
        --rz-card-background-color: black;
    }
}

@media (prefers-color-scheme: light) {
    body {
        --background-image: url(/images/background.jpg);
        --background: #B0B0B0;
        --font-color: #212529;
        --highlight: #393939;
        --highlight-2: #414648;
        --link: #3ca4ff;
        --loading-color-image: #1A1915;
        --textbox_background_color: #E8E8E8;
        --errormessage-color: darkred;
        --text-color: black;
        --button-color: black;
        --button-color-background: linear-gradient(to bottom, #E0E0E0 0%,#E0E0E0 25%,#E0E0E0 49%, #C0C0C0 51%,#C0C0C0 100%);
        --navbarmessage_color: black;
        --navbarmessage-color-hover: #E4E4E4;
        --header-color: black;
        --loginbox-border: 2px solid #D5DFE5;
        --param-border-color: #BEBEBE;
        --param-select-odd: #CCCCCC;
        --param-select-even: #E8E8E8;
        --ui-widget-content-background: #B0B0B0;
        --ui-widget-content-color: black;
        --logo-url: url(/images/Day.png) no-repeat;
        --logo-small-url: url(/images/DaySmall.png) no-repeat;
        --rz-datatable-even-background: #393939;
        --rz-datatable-odd-background: rgb(0 0 0 / 0.91);
        --rz-selectable: rgba(69, 86, 93, 0.9);
        --rz-lookup-panel: #B0B0B0;
    }
}

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
/*a {*/
  /*color: #0366d6;*/
  /*color: var(--font-color);
}*/

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.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);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}
.form-control {
    background-color: var(--textbox_background_color) !important;
    color: var(--font-color) !important;
}
/*#input {
    background-color: var(--textbox_background_color);
}*/

body {
    /* Margin bottom by footer height */
    background-color: var(--background) !important;
    margin-bottom: 60px;
    color: var(--font-color) !important;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

.cis-background {
    background-image: var(--background-image);
    background-size: auto;
    opacity: 0.3;
    display: flex;
    position: fixed;
    top: 0px;
    right: 0px;
    left: 0px;
    bottom: 0px;
    z-index: -01
}
.cis-logo {
    background-image: var(--logo-url);
    background-size: auto;
    opacity: 0.3;
    display: flex;
    position: fixed;
    top: 0px;
    right: 0px;
    left: 0px;
    bottom: 0px;
    z-index: -01
}
.logo {
    background: var(--logo-url);
    background-size: contain !important;
    height: 210px;
    width: 155px;
}

@media (min-width: 768px) {
    .logo {
        height: 420px;
        width: 310px;
    }
}

.rz-tabview-panels {
    background: rgba(255,255,255, 0.7) !important;
}

.cisHelpIcon {
    width: 17px;
    height: 17px;
    cursor: pointer;
    background-color: rgba(18,164,245, 1.0);
    border-radius: 10px;
}
.header_color {
    border-bottom-color: var(--header-color);
}
.text-dark {
    color:var(--font-color) !important;
    
}
a.text-dark:hover, a.text-dark:focus {
    color: var(--link) !important;
}

.text- {
    color: var(--font-color) !important;
}


.left-sticky {
    position: sticky !important;
    left: 0;
    background-color: var(--background);
    opacity:1.0;
    z-index: 3;
}
 .left-sticky:nth-child(0) {
    background-color: green;
}

/* Password visibility toggle next to password inputs */
.password-toggle-btn {
    padding: 0.2rem 0.45rem;
    line-height: 1;
    border-radius: 0.25rem;
    flex-shrink: 0;
}

.password-toggle-btn .rzi {
    font-size: 1.1rem;
    vertical-align: middle;
}

@media (min-width: 1300px) {
    .container {
        min-width: 90%;
    }
}

/* Hide controls that are not useful on touch/mobile devices */
@media (pointer: coarse) {
    .hide-on-touch {
        display: none !important;
    }
}
