/*
html, body {
   height: 100%;
}
*/

html,
body {
  height: 100%;
  width: 100%;
  overflow: auto;
}


@font-face {
    font-family: centurygothic;
    src: url(/centurygothic.ttf) format('truetype');
}

@font-face {
    font-family: square_721_extended;
    src: url(/square_721_extended_bt.ttf) format('truetype');
}

@font-face {
    font-family: 'curatech-icons';
    /* src: url('curatech-icons.woff2?80931149') format('woff2'); */
    src: url('/curatech-icons.woff?lkewgh') format('woff');
    font-weight: normal;
    font-style: normal;
}
.ci::before,
[class^="ci-"]::before,
[class*=" ci-"]::before {
    display: inline-block;
    font-family: curatech-icons !important;
    font-style: normal;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: -.125em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-ct2:before { content: '\e900'; } /* '' */

/*
    body {
      display: flex;
      align-items: center;
      padding-top: 40px;
      padding-bottom: 40px;
      background-color: #f5f5f5;
    }
    */

/*
.form-signin {
   width: 330px;
   padding: 15px;
}
*/
.form-signin {
  width: 100%;
  max-width: 330px;
  padding: 15px;
  margin: auto;
}

.login-background {
    background-color: #f5f5f5;
}

.no-outline {
    outline: none !important;
}

.feather {
  width: 16px;
  height: 16px;
  vertical-align: text-bottom;
}

.icon-button {
    font-size: 1.5rem;
    cursor:pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
    border: 0;
    --bs-btn-active-bg: transparent;
    --bs-btn-hover-bg: transparent;
    background: transparent;
}

.icon-button-red:hover {
    color: var(--bs-red) !important
}

.icon-button-blue:hover {
    color: var(--bs-blue) !important
}

.icon-button2 {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
    border: 0;
    background: transparent;
}


table {
    border-collapse: separate; 
    border-spacing: 0;
}


th {
    background-color: white !important;
    position: sticky;
    top: 0;
}

.sticky-top-48 {
    background-color: white !important;
    position: sticky;
    top: 48px;
    z-index: 0;
}


td {
    vertical-align:middle !important;
    font-size: 16px;
}

/*
 * Sidebar
 */

.sidebar {
  position: fixed;
  top: 0;
  /* rtl:raw:
  right: 0;
  */
  bottom: 0;
  /* rtl:remove */
  left: 0;
  z-index: 100; /* Behind the navbar */
  padding: 70px 0 0; /* Height of navbar */
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
  
}

.breadcrumb-single-line {
    flex-wrap: nowrap !important;
}

.sidebar-sticky {
  position: relative;
  top: 0;
  height: calc(100vh - 48px);
  padding-top: .5rem;
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

.sidebar .nav-link {
  font-weight: 500;
  color: #333;
}

.sidebar .nav-link .feather {
  margin-right: 4px;
  color: #727272;
}

.sidebar .nav-link.active {
  color: #2470dc;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
  color: inherit;
}

.sidebar-heading {
  font-size: .75rem;
  text-transform: uppercase;
}

.table-icon {
  font-size: 1.5rem;
}

.toggle-icon {
    transition: all 0.3s ease;
 }
.toggle-icon[aria-expanded="true"] {
  transform: rotate(90deg);
}

.list-group-item-error {
    border-left: 5px solid var(--bs-danger)!important;
    margin-top: 2px!important;
    margin-bottom: 2px!important;
}

.list-group-item-border-selection {
    border-width: 1px 1px 1px 5px!important;
    border-color: var(--bs-blue)!important;
}

@media (min-width: 768px) {

.call-trace {
    position: sticky;
    top: 0;
    max-height: calc(100vh - 180px);
    overflow: auto;
    scrollbar-width: none;
}

.call-trace::-webkit-scrollbar {
    display: none;
}

/*
.call-trace:after {
    content: '';
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent, white);
}
*/

}

.call-item {
    position: relative;
    padding-left: 30px;
}

.call-item:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 1px solid var(--bs-dark);
    border-radius: 50%;
}

.call-item-alarm:before {
    background-color: var(--bs-red);
}

.call-item-assistence:before {
    background-color: var(--bs-yellow);
}

.call-item-presence:before {
    background-color: var(--bs-green);
}

.info-text {
    padding: 1rem 0 1rem .5rem;
}

.info-text-error {
    border-left: 5px solid var(--bs-red);
}

.info-text-warning {
    border-left: 5px solid var(--bs-yellow);
}

.info-text-notice {
    border-left: 5px solid var(--bs-blue);
}

.info-text-success {
    border-left: 5px solid rgba(var(--bs-success-rgb));
}

.form-floating-white-background::before {
    position: absolute;
    top: 1px;
    left: 1px;
    width: calc(100% - (calc(calc(.375em + .1875rem) + calc(.75em + .375rem))));
    height: 1.875rem;
    content: "";
    background-color: #fff;
    border-radius: .375rem
}

.form-switch.form-switch-md .form-check-input {
    height: 1.5rem;
    width: 2.75rem;
    border-radius: 3rem;
}

.password-text {
    visibility: hidden;
    position: relative;
    width: 60px;
    height: 1.5rem;
}

.password-text:after {
    visibility: visible;
    position: absolute;
    top: 0;
    left: 0; 
    content: "\2022\2022\2022\2022\2022\2022\2022\2022";
}

.none-placeholder:empty::before {
    content: 'None';
    font-style: italic;
    display: inline-block;
}

ul > .setting-list-item-help + .setting-list-item {
    border-top-left-radius: .75rem;
    border-top-right-radius: .75rem;
}

.setting-list-item:first-child {
    border-top-left-radius: .75rem;
    border-top-right-radius: .75rem;
}

.setting-list-item:last-child {
    border-bottom-left-radius: .75rem;
    border-bottom-right-radius: .75rem;
}

.Wt-slider-h:focus {
    outline: 0px;
}

@media (max-width: 768px) {

.list-group-item {
    padding: .5rem .5rem;
}

}

.dot-list .dot-list-item:not(:last-child):after {
    content: "\00B7";
    padding-right: .3em;
    padding-left: .3em;
}

.bi-space:before {
    padding-right: .5rem;
}


.slide-in {
    z-index: 1;
    animation: slide-in 0.4s forwards;
}

.slide-out {
    animation: slide-out 0.4s forwards;
}

@keyframes slide-in {
    0% { transform: translateX(100%); margin-bottom: -65px;}
    99% {z-index: 1}
    100% { transform: translateX(0%); margin-bottom: 8px; z-index: 0}
}

@keyframes slide-out {
    0% { transform: translateX(0%); margin-bottom: 8px}
    99% { z-index: 1}
    100% { transform: translateX(100%); margin-bottom: -65px; z-index: 0}
}

.fade-out {
    opacity: 0;
    transition: opacity 0.6s linear;
}

/*@keyframes slide-in {*/
/*    0% { transform: translateX(100%); margin-bottom: -88px}*/
/*    100% { transform: translateX(0%); margin-bottom: 8px;}*/
/*}*/

/*@keyframes slide-out {*/
/*    0% { transform: translateX(0%); margin-bottom: 8px}*/
/*    100% { transform: translateX(100%); margin-bottom: -88px}*/
/*}*/