
body {
    background-color: #f8f9fc;
    font-size: 14px;
}
.filelist img {
    height: 32px;
    width: 32px;
}
.table, body {
    color: #2d2d2d;
}
.table-hover tbody tr:hover {
    color: #2d2d2d;
}
.ztable3 .box, #calendar {
    background-color: #fff;
    padding: 10px;
    border-radius: 10px;
}
.ztable3 .box-header {
    margin-bottom: 10px;
}
.ztable3 .box-header .has-feedback {
    width: 200px;
    float: right;
    max-width: 100%;
}
.ztable3 .box-header .has-feedback input {
    font-size: 0.9em;
}
.ztable3 .box-header .box-title {
    white-space: nowrap;
    font-size: 0.9em;
}
.smlCnt {
    width: 50px;
    text-align: center;
}
.alv, .ared {
    background-color: #e61717;
    color:#fff;
    padding:2px 5px ;
    border-radius: 3px;
    font-weight: bold;
  }
  .agreen {
    background-color: #23a517;
  }
  .aorange {
    background-color: #ffa600;
  }

/*fc*/
.fc-timegrid-slot {
    height: 2.5em !important;
    border-bottom: 0 !important;
}

.label-status {
    border-radius: 5px;
    color: #fff;
    padding: 0px 5px;
    margin-bottom: 0;
    font-size: 0.9em;
}
/**/
.topbar {
    position: fixed;
    width: 100%;
    top: 0px;
    z-index: 998;
    padding-left: 116px;
}
.sidebar .nav-item .nav-link {

    width: auto;
}
.sidebar  {
    position: fixed;
    left: 0px;
    z-index: 999;/*
    overflow-y: auto;
    overflow-x: hidden;*/
    top: 0;
    height: 100%;
    overflow: auto;
}
.container-fluid {
    padding-top: 100px;
}
/*
.container-fluid {
    padding-left:128px;
}*/
@media print {
    body {
        background-color: #fff !important;
    }
    .navbar-nav {
        display: none;
    }
    .navbar-expand {
        display: none;
    }
    .container-fluid {
        padding: 0px !important;
    }
    .has-feedback {
        display: none;
    }
}

@media (max-width: 768px) {
    .sidebar .nav-item .collapse {
        position: initial;
        left: 0;
    }
    .sidebar .nav-item .collapse .collapse-inner {
        width: 93px;
        min-width: auto;
    }
    .sidebar .nav-item .collapse .collapse-inner .collapse-item {
        padding-left: 5px;
    }
}
@media (max-width: 480px) {
    .modal-dialog {
        width: calc(100% - 20px) !important;        
    }
}
@media (min-width: 480px) {
    .container-fluid {
        padding-left: 128px;
    }
    .topbar {
        padding-left: 116px;
    }
}

@media (min-width: 768px) {
    .container-fluid {
        padding-left: 250px;
    }
    .topbar {
        padding-left: 230px;
    }
}

.sidebar-toggled .topbar {
    padding-left: 16px !important;
}
.sidebar-toggled .container-fluid {
    padding-left: 24px !important;
}

/*planner*/
.planner-container {
    width: 100%;
    background-color: #fff;
    border-radius: 10px;
    padding: 10px;
}
table.planner {
    width: 100%;
}
table.planner td,table.planner th{
    padding: 2px;
    text-align: center;
    position: relative;
}
table.planner tr {
    border-bottom: 1px solid #ebebeb;
}
table.planner td,table.planner th {
    border-right: 1px solid #ebebeb;
}
table.planner td:last-child,table.planner th:last-child {
    border-right: 0;
}
table.planner div.ev i {
    font-size: 10px;
}
table.planner div.ev {
    background-color: #ccc;
    color:#fff;
    border-radius: 3px;
    cursor: pointer;
    position: absolute;
    top: 2px;
    width: 99%;
    height: 24px;
}

.error {
    font-size: 0.9em;
    color: #ca1111;
    width: 100%;
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 100%;
        margin: 1.75rem auto;
    }
}

@media (min-width: 768px) {
    .sidebar .nav-item .nav-link {
        padding: 0.8em 1rem !important;
    }
}

.modal-title {
    font-size: 1em;
}

.form-group {
    display: flex;
    align-items: center;
}

.card-filter {
    display: flex;
    align-items: center;
    overflow: auto;
}
.card-filter input, .card-filter select {
    width: auto;
    margin-left: 5px;
    margin-right: 10px;
    max-width: 140px;
}
.card-filter #date {
    margin-right: 5px;
}
.card-filter .btn-r {
    margin-right: 5px;
}

.dataTables_paginate {
    float: right;
}
.pagination li {
    width: 20px;
    padding: 0 5px;
}

.modal-header {
    flex-direction: row-reverse;
}
.form-group {
    margin-bottom: 5px;
}
.tab-content {
    padding: 10px;
    border: 1px solid #dddfeb;
    border-top: 0;
}
.nav-item {
    margin-left: 5px;
}
.nav-item:first-child {
    margin-left: 0;
}

.feedbackCard label {
    margin-bottom: 0;
}

.feedbackCard input,.feedbackCard select {
    margin-bottom: 10px;
}

.save-error {
    background-color: #ff0000;
    color: #fff;
}
.save-success {
    background-color: #3cb315;
    color: #fff;
}
.bootbox .modal-dialog {max-width: 500px;}

/*********/
/* Absolute Center Spinner */
.loading {
    position: fixed;
    z-index: 999999999999;
    height: 2em;
    width: 2em;
    overflow: show;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
  }
  
  /* Transparent Overlay */
  .loading:before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(rgba(20, 20, 20,.6), rgba(0, 0, 0, .6));
    background: -webkit-radial-gradient(rgba(20, 20, 20,.6), rgba(0, 0, 0,.6));
  }
  
  /* :not(:required) hides these rules from IE9 and below */
  .loading:not(:required) {
    /* hide "loading..." text */
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
  }
  
  .loading:not(:required):after {
    content: '';
    display: block;
    font-size: 10px;
    width: 1em;
    height: 1em;
    margin-top: -0.5em;
    -webkit-animation: spinner 150ms infinite linear;
    -moz-animation: spinner 150ms infinite linear;
    -ms-animation: spinner 150ms infinite linear;
    -o-animation: spinner 150ms infinite linear;
    animation: spinner 150ms infinite linear;
    border-radius: 0.5em;
    -webkit-box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
    box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
  }
  
  /* Animation */
  
  @-webkit-keyframes spinner {
    0% {
      -webkit-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  @-moz-keyframes spinner {
    0% {
      -webkit-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  @-o-keyframes spinner {
    0% {
      -webkit-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  @keyframes spinner {
    0% {
      -webkit-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }

