﻿/* 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. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #84459c;
    border-color: #84459c;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #84459c;
    border-color: #84459c;
}

/* 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%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  white-space: nowrap;
  /*line-height: 60px;*/ /* Vertically center the text there */
}

.ui-jqgrid .ui-jqgrid-htable th {
    height: 35px !important;
    padding: 0px !important;
}
.ui-jqgrid tr.jqgrow td {
    height: 30px !important;
}
.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default,
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus {
    background: #84459c !important;
    color: #fff !important;
}
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus {
    background: rgba(218, 218, 218, 0.2) !important;
    color: #000 !important;
}
.ui-state-default .ui-icon {
    background-image: url(images/ui-icons_888888_256x240.png) /*{iconsDefault};; */;
}
.login-page-center {
    display: flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}
button, input, optgroup, select, textarea {
    color: initial;
}


.m_tableFixHead {
    overflow: auto;
    height: 300px;
    border: 1px solid #cdcdcd
}

    .m_tableFixHead thead th {
    }

table {
    border-collapse: collapse;
    width: 100%
}

th, td {
    padding: 8px 16px;
    border-right: 1px solid #cdcdcd;
    width: auto;
/*    min-width: 160px;
*/    text-align: left;
    border-bottom: 1px solid #cdcdcd
}

th {
    border-collapse: collapse;
    background: #84459c;
    color: white;
}
.chk {
    display: none;
}

.chk-label {
    display: inline-block;
    color: #666666;
    cursor: pointer;
    position: relative;
    padding-left: 1.3vw;
    margin: 0;
    font-family: "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 0.7vw;
    line-height: 1vw;
}

.chk-label:before {
    content: "";
    display: inline-block;
    width: 1vw;
    height: 1vw;
    margin-right: 0px;
    position: absolute;
    left: 0px;
    top: 0px;
    border-radius: 2px;
    background-color: #f5f5f5;
    border: 1px solid #aaaaaa;
    box-shadow: 1px 1px 1px rgb(0 0 0 / 20%);
}

.chk:checked + .chk-label:before,
.chk-label:hover:before {
    content: "\2713";
    text-shadow: 1px 1px 1px rgb(0 0 0 / 10%);
    font-size: 1.2vw;
    color: green;
    text-align: center;
    line-height: 0px;
    width: 1vw;
    font-weight: 600;
    padding-top: 3px;
}

.chk-label:hover:before {
    color: #d5d5d5;
    text-shadow: none;
}
.chk-label.checked{
    color: seagreen;
}
.user.chk-label.checked, .chk:checked + .user.chk-label:before {
    color: red;
}

#pager_left,#pager_right{
    width : 25% !important;
}
#pager_center {
    width: 50% !important;

}
#pager_center .ui-pg-table {
    width: 100%;
    display: flex;
    justify-content: center;
}

input[type=radio] {
    display: none;
}

input[type=radio] + label:before {
    border: 0.1em solid #000;
    border-radius: 50%;
    display: inline-block;
    width: 0.8vw;
    height: 0.8vw;
    margin-right: 0.2em;
    vertical-align: bottom;
    color: transparent;
    transition: .2s;
    text-align: center;
    vertical-align: middle;
    line-height: 0.63vw;
}
input[type=radio].selected + label:before {
    content: "\2714";
}
input[type=radio].unselected + label:before {
    content: "\292B";
}

input[type=radio] + label:active:before {
    transform: scale(0);
}

input[type=radio]:checked.selected + label:before {
    background-color: lightseagreen;
    border-color: lightseagreen;
    color: #fff;
}
input[type=radio]:checked.unselected + label:before {
    background-color: indianred;
    border-color: indianred;
    color: #fff;
}

input[type=radio]:disabled + label:before {
    transform: scale(1);
    border-color: #aaa;
}

input[type=radio]:checked:disabled + label:before {
    transform: scale(1);
    background-color: #bfb;
    border-color: #bfb;
}
.errorMsg {
    color: red;
    display: inline-block;
    width: 100%;
    text-align: end;
}
.action-div {
    position: relative;
    height: 100%;
    font-family: "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    padding: 5px;
    font-size: 0.8vw !important;
    color:#000;
    font-weight:600;
}
.fa span{
    padding-right:5px;
    font-weight:600;
}
.radio-sec, .radio-sec label {
    font-size: 0.6vw !important;
}
.action-div.title-div {
    background: #fff;
    border: 1px solid #BAC5D1;
}
.article-text-sec {
    padding: 2px;
    background: #fff;
    border: 1px solid #BAC5D1;
    line-height: 1.3vw;
}

.article-text-sec div h3 {
    color: #0366d6;
}
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus {
    background: #dadada !important;
    color: #000 !important;
}
.text-center i{
    cursor:pointer;
}
.sub-font {
    font-size:0.6vw;
}
.ui-dialog.timeout-dialog .ui-dialog-titlebar-close {
    background: #dadada !important;
}
.timeout-dialog.ui-dialog .ui-dialog-titlebar {
    color: #fff;
    background: #2980b9;
    border: #84459c;
}

button#timeout-keep-signin-btn:focus-visible, button#timeout-sign-out-button:focus-visible {
    color: white;
    outline: none;
}

.loader-bg {
    background-color: #000;
    opacity: 0.8;
    position: fixed;
    z-index: 99999;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
}

.lds-roller {
    display: inline-block;
    position: absolute;
    width: 64px;
    height: 64px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.lds-roller div {
    animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    transform-origin: 32px 32px;
}

.lds-roller div:after {
    content: " ";
    display: block;
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    margin: -3px 0 0 -3px;
}

.lds-roller div:nth-child(1) {
    animation-delay: -0.036s;
}

.lds-roller div:nth-child(1):after {
    top: 50px;
    left: 50px;
}

.lds-roller div:nth-child(2) {
    animation-delay: -0.072s;
}

.lds-roller div:nth-child(2):after {
    top: 54px;
    left: 45px;
}

.lds-roller div:nth-child(3) {
    animation-delay: -0.108s;
}

.lds-roller div:nth-child(3):after {
    top: 57px;
    left: 39px;
}

.lds-roller div:nth-child(4) {
    animation-delay: -0.144s;
}

.lds-roller div:nth-child(4):after {
    top: 58px;
    left: 32px;
}

.lds-roller div:nth-child(5) {
    animation-delay: -0.18s;
}

.lds-roller div:nth-child(5):after {
    top: 57px;
    left: 25px;
}

.lds-roller div:nth-child(6) {
    animation-delay: -0.216s;
}

.lds-roller div:nth-child(6):after {
    top: 54px;
    left: 19px;
}

.lds-roller div:nth-child(7) {
    animation-delay: -0.252s;
}

.lds-roller div:nth-child(7):after {
    top: 50px;
    left: 14px;
}

.lds-roller div:nth-child(8) {
    animation-delay: -0.288s;
}

.lds-roller div:nth-child(8):after {
    top: 45px;
    left: 10px;
}

@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
.switch-container {
    width: 8em;
    height: 3em;
    border-radius: 5em;
    box-shadow: 5px 5px 15px 5px #cfd8dc;
    position: relative;
}

.switch:checked ~ .switch-color {
    background: #00e676;
}

.switch-color {
    width: 7em;
    height: 2em;
    left: 0.5em;
    top: 0.5em;
    background: #cfd8dc;
    z-index: -1;
    position: absolute;
    transition: all 500ms cubic-bezier(0.34, 1.36, 0.2, 1);
    border-radius: 3em;
}

.switch:checked ~ label {
    transform: translatex(5em);
}

.switch ~ label {
    transition: all 1s cubic-bezier(0.34, 1.36, 0.2, 1);
}

.switch-container label {
    width: 2em;
    height: 2em;
    border-radius: 4em;
    background: white;
    position: absolute;
    box-shadow: 2px 2px 10px 2px #cfd8dc;
    z-index: 99;
    cursor: pointer;
    top: 0.5em;
    left: 0.5em;
}

.switch:checked ~ label::before {
    opacity: 0;
}

.switch-container label::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 1.2em;
    content: "\f00d";
    position: absolute;
    top: 0.3em;
    color: #e9182a;
    left: 0.4em;
}

.switch:checked ~ label::after {
    opacity: 1;
}

.switch-container label::after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 1.5em;
    content: "\f00c";
    position: absolute;
    opacity: 0;
    color: #00e676;
    top: 0.2em;
    left: 0.2em;
}

/* Sidebar alignment: the active section gets a 4px accent border on its <li>
   (style.css ".nav > li.active"), which pushes that row's icon and label 4px right of
   every other row, so the labels visibly jump as you navigate between sections.
   Trim the anchor's left padding by the same 4px to keep every label on one vertical
   line while the accent bar stays visible.
   Scoped to #side-menu so page-level ".nav nav-tabs" are unaffected. */
#side-menu > li.active > a {
    padding-left: 21px;
}

/* Same compensation for the current page's row inside an open section: ".nav > li.active"
   also matches second-level items (the submenu <ul> carries the "nav" class), and the
   ".nav.nav-second-level > li.active { border: none }" rule in style.css is commented out,
   so that row would otherwise sit 4px right of its siblings. Children pad to 52px. */
#side-menu .nav-second-level > li.active > a {
    padding-left: 48px;
}

/* "You are here" for the current page. style.css ".nav > li.active" paints BOTH the open
   section's parent row and the active child row the same #57217a, and both children already
   render white/600 text, so every row in the open section looked identical and you could not
   tell which page you were on. Give the active leaf a deeper fill plus a light accent bar so
   it reads as the selected item against its section. */
#side-menu .nav-second-level > li.active {
    background-color: #3f1459;
    border-left-color: #c9a6e0;
}

#side-menu .nav-second-level > li.active > a,
#side-menu .nav-second-level > li.active > a:hover,
#side-menu .nav-second-level > li.active > a:focus {
    color: #ffffff;
    font-weight: 700;
}
